From 9aac873163051aef8c1f8b5b959e5796a5341e1a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 16 Apr 2019 09:29:43 +0200 Subject: daily-psk-schedule: try to rotate ntp after five minutes uptime --- daily-psk-schedule | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daily-psk-schedule b/daily-psk-schedule index bad21a5..a1a49fa 100644 --- a/daily-psk-schedule +++ b/daily-psk-schedule @@ -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."; } -- cgit v1.2.3-70-g09d2