diff options
author | Simon Rettberg | 2023-09-29 15:57:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-09-29 15:57:29 +0200 |
commit | 9dfbd328d5440054be6e5d6e1138c86c076a51e8 (patch) | |
tree | 848f2756417947381ef70861477d02164eccc78d /core/modules/bwlp-stage4-tweaks/data/etc/cron.d/slx-timesync | |
parent | This should never have worked (diff) | |
download | mltk-9dfbd328d5440054be6e5d6e1138c86c076a51e8.tar.gz mltk-9dfbd328d5440054be6e5d6e1138c86c076a51e8.tar.xz mltk-9dfbd328d5440054be6e5d6e1138c86c076a51e8.zip |
[bwlp-stage4-tweaks] Add daily ntp sync script
Closes #3947
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-timesync | 7 |
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 |