config/default: Add scheduled tasks update-logbook and update-ddb

pull/39/head
Fabian P. Schmidt 2016-02-04 22:52:37 +01:00
rodzic 65aefc39a4
commit a71d5862f7
1 zmienionych plików z 12 dodań i 4 usunięć

Wyświetl plik

@ -7,10 +7,18 @@ CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
from datetime import timedelta
CELERYBEAT_SCHEDULE = {
'update-ddb': {
'task': 'ogn.collect.database.import_ddb',
'schedule': timedelta(minutes=15),
},
'update-receiver-distance': {
'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),