mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Added cron for check_for_missing_rows_in_completed_jobs
Run the task every 10 minutes. Does that seem reasonable? Maybe that is too often.
This commit is contained in:
@@ -198,6 +198,11 @@ class Config(object):
|
|||||||
'schedule': crontab(),
|
'schedule': crontab(),
|
||||||
'options': {'queue': QueueNames.PERIODIC}
|
'options': {'queue': QueueNames.PERIODIC}
|
||||||
},
|
},
|
||||||
|
'check_for_missing_rows_in_completed_jobs': {
|
||||||
|
'task': 'check-job-status',
|
||||||
|
'schedule': crontab(minute='*/10'),
|
||||||
|
'options': {'queue': QueueNames.PERIODIC}
|
||||||
|
},
|
||||||
'replay-created-notifications': {
|
'replay-created-notifications': {
|
||||||
'task': 'replay-created-notifications',
|
'task': 'replay-created-notifications',
|
||||||
'schedule': crontab(minute='0, 15, 30, 45'),
|
'schedule': crontab(minute='0, 15, 30, 45'),
|
||||||
|
|||||||
Reference in New Issue
Block a user