From 1e541b5079e7d8976e0836744826fef12227c39d Mon Sep 17 00:00:00 2001 From: Imdad Ahad Date: Fri, 3 Feb 2017 13:34:09 +0000 Subject: [PATCH] TEMPORARY: Execute every 10 minutes --- app/config.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/config.py b/app/config.py index 1b4164482..022ab2de3 100644 --- a/app/config.py +++ b/app/config.py @@ -126,7 +126,7 @@ class Config(object): }, 'send-daily-performance-platform-stats': { 'task': 'send-daily-performance-platform-stats', - 'schedule': crontab(minute=30, hour=0), # 00:30 + 'schedule': crontab(minute='*/10'), # Every 10 minutes 'options': {'queue': 'periodic'} }, 'timeout-sending-notifications': { @@ -156,10 +156,11 @@ class Config(object): SENDING_NOTIFICATIONS_TIMEOUT_PERIOD = 259200 # 3 days - SIMULATED_EMAIL_ADDRESSES = ('simulate-delivered@notifications.service.gov.uk', - 'simulate-delivered-2@notifications.service.gov.uk', - 'simulate-delivered-3@notifications.service.gov.uk', - ) + SIMULATED_EMAIL_ADDRESSES = ( + 'simulate-delivered@notifications.service.gov.uk', + 'simulate-delivered-2@notifications.service.gov.uk', + 'simulate-delivered-3@notifications.service.gov.uk', + ) SIMULATED_SMS_NUMBERS = ('+447700900000', '+447700900111', '+447700900222')