daily-psk-schedule: try to rotate ntp after five minutes uptime

This commit is contained in:
Christian Hesse 2019-04-16 09:29:43 +02:00
parent 5273efda21
commit 9aac873163

View file

@ -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.";
}