summaryrefslogtreecommitdiffstats
path: root/etc/crontab
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-25 22:39:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-25 22:39:57 +0000
commit1859a2e65441faafe4b8681a15963181ef1cdd9c (patch)
tree8373c0193b47b2a51946b0d844092c65d75a5663 /etc/crontab
parent001fdeea72bf513b38cf3b03bc79c47ba1699f0a (diff)
downloadpfsense-1859a2e65441faafe4b8681a15963181ef1cdd9c.zip
pfsense-1859a2e65441faafe4b8681a15963181ef1cdd9c.tar.gz
* Clear /tmp once a week
* Mount and unmount the compact flash before updating the bogons list
Diffstat (limited to 'etc/crontab')
-rw-r--r--etc/crontab3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/crontab b/etc/crontab
index 0715b9a..9885d96 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -10,4 +10,5 @@ HOME=/var/log
30 5 1 * * root periodic monthly
1,31 0-5 * * * root adjkerntz -a
*/5 * * * * root nice -n20 /etc/rc.prunecaptiveportal
-*/3000 * * * * root /usr/bin/fetch -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" >/dev/null 2>&1 && /sbin/pfctl -t bogons -T replace -f /etc/bogons >/dev/null 2>&1
+*/3000 * * * * root /etc/rc.conf_mount_rw && /usr/bin/fetch -q -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" && /sbin/pfctl -t bogons -T replace -f /etc/bogons && /etc/rc.conf_mount_ro
+15 8 * * 6 root rm -rf /tmp/*
OpenPOWER on IntegriCloud