aboutsummaryrefslogtreecommitdiff
path: root/src/conf/crontab
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf/crontab')
-rw-r--r--src/conf/crontab6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conf/crontab b/src/conf/crontab
new file mode 100644
index 0000000..35f52ce
--- /dev/null
+++ b/src/conf/crontab
@@ -0,0 +1,6 @@
+# PALHM will produce stderr on exception. Mail the output to root
+MAILTO="root"
+# Run default task every Sunday at midnight
+0 0 * * sun root /var/lib/PALHM/src/palhm.py -q run
+# Check dnssec validity every hour
+# 0 * * * * root systemd-run -qP -p Nice=15 -p ProtectSystem=strict -p ReadOnlyPaths=/ -p PrivateDevices=true --wait /var/lib/PALHM/src/palhm.py -q run check-dnssec