mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-22 03:44:59 +02: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…
Add table
Add a link
Reference in a new issue