aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/notification-email4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/notification-email b/mod/notification-email
index ea2c40b..3cff322 100644
--- a/mod/notification-email
+++ b/mod/notification-email
@@ -20,6 +20,10 @@
:local AllDone true;
:local QueueLen [ :len $EmailQueue ];
:local Scheduler [ /system/scheduler/find where name=$0 ];
+
+ :if ([ :len $Scheduler ] > 0 && [ /system/scheduler/get $Scheduler interval ] < 1m) do={
+ /system/scheduler/set interval=1m $Scheduler;
+ }
:if ([ /tool/e-mail/get last-status ] = "in-progress") do={
$LogPrintExit2 debug $0 ("Sending mail is currently in progress, not flushing.") false;