mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55: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:
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
:local scheduler [ / system scheduler find where name=daily-psk-schedule ];
|
: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;
|
/ system scheduler set interval=15s $scheduler;
|
||||||
} else={
|
} else={
|
||||||
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up" ) do={
|
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up" ) do={
|
||||||
|
Reference in New Issue
Block a user