From 93a6bff312a55b0475b4b9d4b2f71ac4be1fe702 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 3 Jan 2019 10:23:02 +0100 Subject: daily-psk-schedule: give time in short format Note that a unit is required to make it a time value! --- daily-psk-schedule | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daily-psk-schedule b/daily-psk-schedule index d890f56..853ae96 100644 --- a/daily-psk-schedule +++ b/daily-psk-schedule @@ -6,7 +6,7 @@ :local scheduler [ / system scheduler find where name=daily-psk-schedule ]; -:if ([ / system scheduler get $scheduler interval ] = "00:00:00") do={ +:if ([ / system scheduler get $scheduler interval ] = 0s) do={ / system scheduler set interval=15s $scheduler; } else={ :if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up" ) do={ -- cgit v1.2.3-70-g09d2