]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blobdiff - config/cron/crontab
BUG 11929: Build 'bind'-binaries dynamically and install needed libraries (V2)
[people/mfischer/ipfire-2.x.git] / config / cron / crontab
index 02abadc3481a7fcec2f0ddf6ff52d748e2607127..4561f4a243239b8b5bd3525c067dc6a70395489c 100644 (file)
@@ -22,7 +22,10 @@ HOME=/
 
 # Make some nice graphs
 */5 * * * *    /usr/local/bin/makegraphs >/dev/null
-17 5 * * *     /etc/init.d/tmpfs backup >/dev/null
+
+# Backup ramdisks if necessary
+%nightly,random * 23-4 /etc/init.d/collectd backup &>/dev/null
+%nightly,random * 23-4 /etc/init.d/vnstat backup &>/dev/null
 
 # Update dynamic DNS records every five minutes.
 */5 * * * *    [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all
@@ -62,5 +65,14 @@ HOME=/
 # Retry sending spooled mails regularly
 %hourly * /usr/sbin/dma -q
 
+# Cleanup captive clients
+%hourly * /usr/bin/captive-cleanup
+
+# Reload captive firewall rules
+%nightly * 23-1   /usr/local/bin/captivectrl >/dev/null
+
 # Cleanup the mail spool directory
 %weekly * * /usr/sbin/dma-cleanup-spool
+
+# Update DNS trust anchor
+%daily,random * * @runas(nobody) /usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem