aboutsummaryrefslogtreecommitdiff
path: root/src/conf/crontab
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2022-05-16 15:53:36 +0800
committerDavid Timber <dxdt@dev.snart.me>2022-05-16 15:53:36 +0800
commit990a7a560c98dcbaa9c9e8deb0968819b646a664 (patch)
treeb56f57e853b41ba19db7a6b7099ba6c8e6cfa829 /src/conf/crontab
parente80babb6e02c647101766c802a0378d12149fda7 (diff)
Changes ...
- Deprecate palhm-dnssec-check.sh - Merge check-dnssec and boot-report config into the sample config - Add crontab sample - Reduce Python requirement to 3.5 - Remove use of capture_output - boot-report: remove systemd-analyze as the command is not available during boot time - Change config schema - "object-groups" and "objects" are now optional - Change "boot-report" include behaviour
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