kopia lustrzana https://github.com/glidernet/ogn-python
Add note about special backend requirements for some tasks
rodzic
2b4985330d
commit
ae3b08722f
|
@ -151,8 +151,8 @@ Only the command `logbook.compute` requires a running task server (celery) at th
|
||||||
- `ogn.collect.database.import_ddb` - Import registered devices from the ddb
|
- `ogn.collect.database.import_ddb` - Import registered devices from the ddb
|
||||||
- `ogn.collect.database.import_file` - Import registered devices from a local file
|
- `ogn.collect.database.import_file` - Import registered devices from a local file
|
||||||
- `ogn.collect.heatmap.update_beacon_receiver_distance_all` - Calculate the distance between aircraft and receiver for the last aircraft beacons
|
- `ogn.collect.heatmap.update_beacon_receiver_distance_all` - Calculate the distance between aircraft and receiver for the last aircraft beacons
|
||||||
- `ogn.collect.receiver.update_receivers` - Populate/update receiver table
|
- `ogn.collect.receiver.update_receivers` - Populate/update receiver table (requires postgresql-backend)
|
||||||
- `ogn.collect.logbook.compute_takeoff_and_landing` - Generate TakeoffLanding table
|
- `ogn.collect.logbook.compute_takeoff_and_landing` - Generate TakeoffLanding table (requires postgresql-backend)
|
||||||
|
|
||||||
If the task server is up and running, tasks could be started manually.
|
If the task server is up and running, tasks could be started manually.
|
||||||
|
|
||||||
|
|
|
@ -15,14 +15,15 @@ CELERYBEAT_SCHEDULE = {
|
||||||
'task': 'ogn.collect.heatmap.update_beacon_receiver_distance_all',
|
'task': 'ogn.collect.heatmap.update_beacon_receiver_distance_all',
|
||||||
'schedule': timedelta(minutes=5),
|
'schedule': timedelta(minutes=5),
|
||||||
},
|
},
|
||||||
'update-logbook': {
|
# Only supported with postgresql backend
|
||||||
'task': 'ogn.collect.logbook.compute_takeoff_and_landing',
|
# 'update-logbook': {
|
||||||
'schedule': timedelta(minutes=15),
|
# 'task': 'ogn.collect.logbook.compute_takeoff_and_landing',
|
||||||
},
|
# 'schedule': timedelta(minutes=15),
|
||||||
'update-receiver-table': {
|
# },
|
||||||
'task': 'ogn.collect.receiver.update_receivers',
|
# 'update-receiver-table': {
|
||||||
'schedule': timedelta(minutes=5),
|
# 'task': 'ogn.collect.receiver.update_receivers',
|
||||||
},
|
# 'schedule': timedelta(minutes=5),
|
||||||
|
# },
|
||||||
}
|
}
|
||||||
|
|
||||||
CELERY_TIMEZONE = 'UTC'
|
CELERY_TIMEZONE = 'UTC'
|
||||||
|
|
Ładowanie…
Reference in New Issue