From cea46a0758740f1ace6e9f4fa590bc007464c9e8 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Thu, 1 Oct 2020 14:14:08 +0100 Subject: [PATCH] On the crazy weekend we checked for scheduled jobs every minute. This changes that scheduled task to run at the top of the hour, 15, 30, and 45 minutes past --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 9eb393ac9..7b9981e52 100644 --- a/app/config.py +++ b/app/config.py @@ -194,7 +194,7 @@ class Config(object): # app/celery/scheduled_tasks.py 'run-scheduled-jobs': { 'task': 'run-scheduled-jobs', - 'schedule': crontab(), + 'schedule': crontab(minute='0,15,30,45'), 'options': {'queue': QueueNames.PERIODIC} }, 'delete-verify-codes': {