aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/notification-email2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notification-email b/mod/notification-email
index 81ca563..264a154 100644
--- a/mod/notification-email
+++ b/mod/notification-email
@@ -39,7 +39,7 @@
$LogPrintExit2 warning $0 ("Flushing E-Mail messages from scheduler, but queue is empty.") false;
}
- /system/scheduler/set interval=($QueueLen . "m") [ find where name=$0 ];
+ /system/scheduler/set interval=([ $EitherOr $QueueLen 1 ] . "m") [ find where name=$0 ];
:foreach Id,Message in=$EmailQueue do={
:if ([ :typeof $Message ] = "array" ) do={