about summary refs log tree commit diff
path: root/sv/snooze-hourly/run
diff options
context:
space:
mode:
authorCameron Nemo <camerontnorman@gmail.com>2018-11-23 19:26:21 -0800
committerLeah Neukirchen <leah@vuxu.org>2018-11-29 16:31:15 +0100
commit206eda3ca7b1e7a9cf51d2e630fcf62b45455997 (patch)
tree72d7944f70bf308d2a364b02b77a4581ecd8499c /sv/snooze-hourly/run
parentd44fd0169fcb9ba3debcaab38b526c7c7bf96d61 (diff)
downloadsnooze-206eda3ca7b1e7a9cf51d2e630fcf62b45455997.tar.gz
snooze-206eda3ca7b1e7a9cf51d2e630fcf62b45455997.tar.xz
snooze-206eda3ca7b1e7a9cf51d2e630fcf62b45455997.zip
sv: touch timefile in run scripts
Diffstat (limited to 'sv/snooze-hourly/run')
-rwxr-xr-xsv/snooze-hourly/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv/snooze-hourly/run b/sv/snooze-hourly/run
index 6dc1f73..d9a3f0b 100755
--- a/sv/snooze-hourly/run
+++ b/sv/snooze-hourly/run
@@ -1,3 +1,4 @@
 #!/bin/sh
 mkdir -p /var/cache/snooze
-exec snooze -H \* -s 1h -t /var/cache/snooze/hourly -- run-parts --lsbsysinit /etc/cron.hourly
+exec snooze -H \* -s 1h -t /var/cache/snooze/hourly -- sh -c \
+	"run-parts --lsbsysinit /etc/cron.hourly; : > /var/cache/snooze/hourly"