mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
daily-psk-schedule: try to rotate ntp after five minutes uptime
This commit is contained in:
parent
5273efda21
commit
9aac873163
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@
|
|||
}
|
||||
|
||||
:if ([ / system ntp client get status ] != "synchronized") do={
|
||||
:if ([ / system resource get uptime ] > 5m) do={
|
||||
/ system script run [ find where name="rotate-ntp" ];
|
||||
}
|
||||
:log warning "Time is not yet synchronized from ntp.";
|
||||
:error "Warning: See log for details.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue