mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Add the scheduled task to run every 15 minutes.
This commit is contained in:
@@ -266,6 +266,11 @@ class Config(object):
|
|||||||
'task': 'daily-stats-template-usage-by-month',
|
'task': 'daily-stats-template-usage-by-month',
|
||||||
'schedule': crontab(hour=0, minute=5),
|
'schedule': crontab(hour=0, minute=5),
|
||||||
'options': {'queue': QueueNames.PERIODIC}
|
'options': {'queue': QueueNames.PERIODIC}
|
||||||
|
},
|
||||||
|
'replay_created_notifications': {
|
||||||
|
'task': 'replay_created_notifications',
|
||||||
|
'schedule': crontab(minute=15),
|
||||||
|
'options': {'queue': QueueNames.PERIODIC}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CELERY_QUEUES = []
|
CELERY_QUEUES = []
|
||||||
|
|||||||
Reference in New Issue
Block a user