mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
daily-psk-schedule: give time in short format
Note that a unit is required to make it a time value!
This commit is contained in:
parent
fe04b8b8db
commit
93a6bff312
1 changed files with 1 additions and 1 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue