From 8a1ac8454dd01b468c7700a2c7b16efaa7abfc51 Mon Sep 17 00:00:00 2001 From: leiweibau <105860611+leiweibau@users.noreply.github.com> Date: Sat, 6 Aug 2022 19:52:31 +0200 Subject: [PATCH] disable reporting for cleanup tasks --- back/pialert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/pialert.py b/back/pialert.py index c9048dac..4cf44067 100644 --- a/back/pialert.py +++ b/back/pialert.py @@ -98,7 +98,7 @@ def main (): return res # Reporting - if cycle != 'internet_IP': + if cycle != 'internet_IP' and cycle != 'cleanup': email_reporting() # Close SQL