This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-02 22:04:12 +00:00
|
|
|
"""Outposts Settings"""
|
2020-10-05 21:11:44 +00:00
|
|
|
from celery.schedules import crontab
|
2020-09-02 22:04:12 +00:00
|
|
|
|
2020-10-05 21:11:44 +00:00
|
|
|
CELERY_BEAT_SCHEDULE = {
|
|
|
|
"outposts_k8s": {
|
|
|
|
"task": "passbook.outposts.tasks.outpost_controller",
|
|
|
|
"schedule": crontab(minute="*/5"), # Run every 5 minutes
|
|
|
|
"options": {"queue": "passbook_scheduled"},
|
|
|
|
}
|
|
|
|
}
|