summaryrefslogtreecommitdiffstats
path: root/core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync')
-rw-r--r--core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync b/core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync
new file mode 100644
index 00000000..6acc48d5
--- /dev/null
+++ b/core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync
@@ -0,0 +1,7 @@
+# Sync time once a day; script includes a random startup delay
+# Avoid clients running for weeks to run out of sync with the server too much
+
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/openslx/sbin:/opt/openslx/bin
+
+19 1 * * * root /opt/openslx/scripts/cron-ntp