diff --git a/app/config.py b/app/config.py index d167c7e49..46b8c48c0 100644 --- a/app/config.py +++ b/app/config.py @@ -267,7 +267,12 @@ class Config(object): 'check-templated-letter-state': { 'task': 'check-templated-letter-state', 'schedule': crontab(day_of_week='mon-fri', hour=9, minute=0), - 'options': {'queue', QueueNames.PERIODIC} + 'options': {'queue': QueueNames.PERIODIC} + }, + 'check-precompiled-letter-state': { + 'task': 'check-precompiled-letter-state', + 'schedule': crontab(day_of_week='mon-fri', hour='9,15', minute=0), + 'options': {'queue': QueueNames.PERIODIC} }, 'raise-alert-if-letter-notifications-still-sending': { 'task': 'raise-alert-if-letter-notifications-still-sending', @@ -286,11 +291,6 @@ class Config(object): 'schedule': crontab(hour=23, minute=00), 'options': {'queue': QueueNames.PERIODIC} }, - 'check-precompiled-letter-state': { - 'task': 'check-precompiled-letter-state', - 'schedule': crontab(day_of_week='mon-fri', hour='9,15', minute=0), - 'options': {'queue', QueueNames.PERIODIC} - }, } CELERY_QUEUES = []