summaryrefslogtreecommitdiffhomepage
path: root/whiteboard.cron
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-11-26 12:59:28 +0100
committerRoland Reichwein <mail@reichwein.it>2022-11-26 12:59:28 +0100
commit7619dc0bef58d00c816b6628e457a85845b9edee (patch)
treef572b4dd639e0b4b4c0215e1cb1facb299ca0523 /whiteboard.cron
parentf116c9146e53d885840ed957204d60d81fd858bd (diff)
Cleanup via cron/systemd
Diffstat (limited to 'whiteboard.cron')
-rw-r--r--whiteboard.cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/whiteboard.cron b/whiteboard.cron
new file mode 100644
index 0000000..705c2eb
--- /dev/null
+++ b/whiteboard.cron
@@ -0,0 +1,2 @@
+# Cleanup whiteboard data once every day
+02,31 * * * * root [ -x /usr/bin/whiteboard-cleanup ] && if [ ! -d /run/systemd/system ]; then /usr/bin/whiteboard-cleanup ; fi