From 49d69a84d9d2204b00ca4c4773c54e5fc58523a5 Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Fri, 26 Jan 2018 09:56:53 +0000 Subject: [PATCH] Changed the time of the task to run at 00:05 as the query gets data for the day before 0:00, so to minimise the report being out of date run the query at 0:05. --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 3d0589f43..a29e654b9 100644 --- a/app/config.py +++ b/app/config.py @@ -279,7 +279,7 @@ class Config(object): }, 'daily-stats-template-usage-by-month': { 'task': 'daily-stats-template-usage-by-month', - 'schedule': crontab(hour=0, minute=50), + 'schedule': crontab(hour=0, minute=5), 'options': {'queue': QueueNames.PERIODIC} } }