From f0f2ff0615929214af8afca64e5e502fd878e4b1 Mon Sep 17 00:00:00 2001 From: Priya Dharshini Date: Wed, 19 May 2021 20:18:42 +0530 Subject: [PATCH] Adds day start cron --- scripts/statesman_callback.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/statesman_callback.py b/scripts/statesman_callback.py index da8b125..68c1ad2 100644 --- a/scripts/statesman_callback.py +++ b/scripts/statesman_callback.py @@ -239,6 +239,10 @@ "AES_VOILATION": { "sql": "select workflow_id,current_state from workflow_instances where current_state IN ('AES_VOILATION')", "callback_payload": {"dayEnd": True} + }, + "REPORT_AES": { + "sql": "select workflow_id,current_state from workflow_instances where current_state IN ('REPORT_AES')", + "callback_payload": {"now": DAY_START_TIME} } }