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