11 lines
302 B
Python
11 lines
302 B
Python
|
"""passbook admin settings"""
|
||
|
from celery.schedules import crontab
|
||
|
|
||
|
CELERY_BEAT_SCHEDULE = {
|
||
|
"admin_latest_version": {
|
||
|
"task": "passbook.admin.tasks.update_latest_version",
|
||
|
"schedule": crontab(minute=0), # Run every hour
|
||
|
"options": {"queue": "passbook_scheduled"},
|
||
|
}
|
||
|
}
|