global-functions: $WaitTimeSync: run rotate-ntp less frequently

This commit is contained in:
Christian Hesse 2020-05-15 20:23:14 +02:00
parent 56b6da71c3
commit b5d1e7aa83

View file

@ -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={