mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $WaitTimeSync: run rotate-ntp less frequently
This commit is contained in:
parent
56b6da71c3
commit
b5d1e7aa83
1 changed files with 1 additions and 1 deletions
|
@ -730,7 +730,7 @@
|
|||
|
||||
:while ([ $TimeIsSync ] = false) do={
|
||||
:if ([ / system script print count-only where name="rotate-ntp" ] > 0 && \
|
||||
[ :tostr [ / system resource get uptime ] ] ~ "00\$") do={
|
||||
[ :tostr [ / system resource get uptime ] ] ~ "[369]:00\$") do={
|
||||
:do {
|
||||
/ system script run rotate-ntp;
|
||||
} on-error={
|
||||
|
|
Loading…
Reference in a new issue