aboutsummaryrefslogtreecommitdiffstats
path: root/script-updates
diff options
context:
space:
mode:
Diffstat (limited to 'script-updates')
-rw-r--r--script-updates7
1 files changed, 7 insertions, 0 deletions
diff --git a/script-updates b/script-updates
index 759c5e0..af45a0a 100644
--- a/script-updates
+++ b/script-updates
@@ -32,6 +32,13 @@
:log warning ("Policies differ for script " . $ScriptVal->"name" . \
" and its scheduler " . $SchedulerVal->"name" . "!");
}
+ :if ($SchedulerVal->"name" != "global-scripts" && \
+ $SchedulerVal->"start-time" = "startup" && \
+ $SchedulerVal->"interval" = 0s && \
+ [ :pick ($SchedulerVal->"on-event") 0 7 ] != ":delay ") do={
+ :log warning ("Scheduler " . $SchedulerVal->"name" . " starts on startup, " . \
+ "without interval. Add delay to make sure the configuration is available!");
+ }
}
:if ([ :len $SourceNew ] = 0 && $ScriptUpdatesFetch = true) do={