aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daily-psk-schedule3
1 files changed, 3 insertions, 0 deletions
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.";
}