aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index d51f1d3..366804a 100644
--- a/global-functions
+++ b/global-functions
@@ -967,7 +967,7 @@
:while ([ $TimeIsSync ] = false) do={
:if ([ :len [ / system script find where name="rotate-ntp" ] ] > 0 && \
- [ :tostr [ / system resource get uptime ] ] ~ "[369]:00\$") do={
+ ([ / system resource get uptime ] % (180 * 1000000000)) = 0s) do={
:do {
/ system script run rotate-ntp;
} on-error={