summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/timesync/etc/cron.d/slx-timesync
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/timesync/etc/cron.d/slx-timesync')
-rw-r--r--satellit_installer/static_files/timesync/etc/cron.d/slx-timesync8
1 files changed, 8 insertions, 0 deletions
diff --git a/satellit_installer/static_files/timesync/etc/cron.d/slx-timesync b/satellit_installer/static_files/timesync/etc/cron.d/slx-timesync
new file mode 100644
index 0000000..e0a7c22
--- /dev/null
+++ b/satellit_installer/static_files/timesync/etc/cron.d/slx-timesync
@@ -0,0 +1,8 @@
+# Run our http-based timesync once a day
+# This script will check whether ntpd or systemd-timesyncd is
+# running, in which case it does nothing.
+
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+33 2 * * * root /usr/local/sbin/redneck-timesync.sh -s