summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/cron.d/itzks-systems-disklserver5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/cron.d/itzks-systems-disklserver b/etc/cron.d/itzks-systems-disklserver
new file mode 100644
index 0000000..60d9ede
--- /dev/null
+++ b/etc/cron.d/itzks-systems-disklserver
@@ -0,0 +1,5 @@
+MAILTO=root
+PATH=/usr/bin:/bin:/usr/sbin:/sbin
+
+# check if we should rebuild the LTSP squashfs images
+30 3 * * * root [ -d /srv/ltsp/images ] && [ -x /usr/sbin/itzks-update-disklserver-squashfs-images ] && /usr/sbin/itzks-update-disklserver-squashfs-images