From d53ef27b7f519a623bab48ad6532bae9ae8e3b86 Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Mon, 28 Feb 2022 11:22:14 +0000 Subject: [PATCH] Make letters still sending check later MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changes the scheduled task to raise an alert if letters are still sending from 1530 to 1700. DVLA have reported that our "monitoring is executing just before we actually mark them as ‘despatched’ and send you the feedback files." and asked us to make the check a little later. We don't actually contact DVLA until the morning after the alert anyway, so this won't affect the process of getting in touch with them. This change will require Cronitor to be updated for the new time. --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 37b0f4619..063ebc7e9 100644 --- a/app/config.py +++ b/app/config.py @@ -307,7 +307,7 @@ class Config(object): }, 'raise-alert-if-letter-notifications-still-sending': { 'task': 'raise-alert-if-letter-notifications-still-sending', - 'schedule': crontab(hour=15, minute=30), + 'schedule': crontab(hour=17, minute=00), 'options': {'queue': QueueNames.PERIODIC} }, # The collate-letter-pdf does assume it is called in an hour that BST does not make a