about summary refs log tree commit diff
path: root/sv/snooze-monthly
diff options
context:
space:
mode:
Diffstat (limited to 'sv/snooze-monthly')
-rwxr-xr-xsv/snooze-monthly/finish2
-rwxr-xr-xsv/snooze-monthly/run3
2 files changed, 5 insertions, 0 deletions
diff --git a/sv/snooze-monthly/finish b/sv/snooze-monthly/finish
new file mode 100755
index 0000000..7188324
--- /dev/null
+++ b/sv/snooze-monthly/finish
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec touch /var/cache/snooze/monthly
diff --git a/sv/snooze-monthly/run b/sv/snooze-monthly/run
new file mode 100755
index 0000000..2497fb3
--- /dev/null
+++ b/sv/snooze-monthly/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p /var/cache/snooze
+exec snooze -d 1 -s 28d -t /var/cache/snooze/monthly -- run-parts --lsbsysinit /etc/cron.monthly