aboutsummaryrefslogtreecommitdiff
path: root/crontab/swclock.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 12:13:06 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 12:24:26 +0100
commit49fe9bd77db951bf7daec435f69502807e41c2c4 (patch)
tree62c6033f1495d31507abc9135c0a479cf2eb21ef /crontab/swclock.in
parentb6c97e117c20a91e548966fa50411e7fe3dd8818 (diff)
Implement init/cron split
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'crontab/swclock.in')
-rw-r--r--crontab/swclock.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/crontab/swclock.in b/crontab/swclock.in
new file mode 100644
index 0000000..b5ae7af
--- /dev/null
+++ b/crontab/swclock.in
@@ -0,0 +1,2 @@
+5 */4 * * * @SCRIPTDIR@/setntpdate.sh > /dev/null
+@hourly date --utc +%%m%%d%%H%%M%%Y.%%S > @STATEFILESPATH@/swclock