Add note about special backend requirements for some tasks

pull/39/head
Fabian P. Schmidt 2016-02-04 23:07:38 +01:00
rodzic 2b4985330d
commit ae3b08722f
2 zmienionych plików z 11 dodań i 10 usunięć

Wyświetl plik

@ -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_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.receiver.update_receivers` - Populate/update receiver table
- `ogn.collect.logbook.compute_takeoff_and_landing` - Generate TakeoffLanding table
- `ogn.collect.receiver.update_receivers` - Populate/update receiver table (requires postgresql-backend)
- `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.

Wyświetl plik

@ -15,14 +15,15 @@ CELERYBEAT_SCHEDULE = {
'task': 'ogn.collect.heatmap.update_beacon_receiver_distance_all',
'schedule': timedelta(minutes=5),
},
'update-logbook': {
'task': 'ogn.collect.logbook.compute_takeoff_and_landing',
'schedule': timedelta(minutes=15),
},
'update-receiver-table': {
'task': 'ogn.collect.receiver.update_receivers',
'schedule': timedelta(minutes=5),
},
# Only supported with postgresql backend
# 'update-logbook': {
# 'task': 'ogn.collect.logbook.compute_takeoff_and_landing',
# 'schedule': timedelta(minutes=15),
# },
# 'update-receiver-table': {
# 'task': 'ogn.collect.receiver.update_receivers',
# 'schedule': timedelta(minutes=5),
# },
}
CELERY_TIMEZONE = 'UTC'