kopia lustrzana https://github.com/glidernet/ogn-python
config/default: Add scheduled tasks update-logbook and update-ddb
rodzic
65aefc39a4
commit
a71d5862f7
|
@ -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),
|
||||
|
|
Ładowanie…
Reference in New Issue