2020-09-02 23:04:12 +01:00
|
|
|
"""Outposts Settings"""
|
2020-10-05 22:11:44 +01:00
|
|
|
from celery.schedules import crontab
|
2020-09-02 23:04:12 +01:00
|
|
|
|
2020-10-05 22:11:44 +01:00
|
|
|
CELERY_BEAT_SCHEDULE = {
|
2020-10-14 09:44:17 +01:00
|
|
|
"outposts_controller": {
|
2020-10-16 10:38:49 +01:00
|
|
|
"task": "passbook.outposts.tasks.outpost_controller_all",
|
2020-10-14 09:44:17 +01:00
|
|
|
"schedule": crontab(minute="*/5"),
|
2020-10-05 22:11:44 +01:00
|
|
|
"options": {"queue": "passbook_scheduled"},
|
2020-10-14 09:44:17 +01:00
|
|
|
},
|
2020-11-08 20:31:27 +00:00
|
|
|
"outposts_service_connection_check": {
|
|
|
|
"task": "passbook.outposts.tasks.outpost_service_connection_monitor",
|
|
|
|
"schedule": crontab(minute=0, hour="*"),
|
|
|
|
"options": {"queue": "passbook_scheduled"},
|
|
|
|
},
|
2020-10-05 22:11:44 +01:00
|
|
|
}
|