aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk-schedule
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-01-03 10:23:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-01-03 10:23:02 +0100
commit93a6bff312a55b0475b4b9d4b2f71ac4be1fe702 (patch)
treeafd026ecacbb1ec8719152d1ce9bcc54575a2dd9 /daily-psk-schedule
parentfe04b8b8db3040d739e9151207dfcf75de1852af (diff)
daily-psk-schedule: give time in short format
Note that a unit is required to make it a time value!
Diffstat (limited to 'daily-psk-schedule')
-rw-r--r--daily-psk-schedule2
1 files changed, 1 insertions, 1 deletions
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={