]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/cron/crontab
Postfix-Update
[people/pmueller/ipfire-2.x.git] / config / cron / crontab
index f51a686a4d8a9fc94206d39f93a54a98d427eb2c..ff1542357530a709d4d230ef8773f9afed8c1fc8 100644 (file)
@@ -1,11 +1,19 @@
 #
-# $Id: crontab,v 1.9.2.5 2005/08/16 05:39:23 gespinasse Exp $
+# crontab for ipfire
 #
 SHELL=/bin/bash
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 MAILTO=root
 HOME=/
 
+# Do all jobs in this directories
+*/1 * * * *    test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.minutely
+*/5 * * * *    test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.cyclic
+01 * * * *     test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.hourly
+&nice(10),bootrun 25 1 * * *   test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.daily
+&nice(10),bootrun 47 2 * * 0   test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.weekly
+&nice(10),bootrun 52 3 1 * *   test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.monthly
+
 # Log rotation
 01 * * * *     /usr/sbin/logrotate /etc/logrotate.conf
 
@@ -31,3 +39,20 @@ HOME=/
 01 0 * * *     /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \
                LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); \
                find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';'
+
+# hddshutdown
+02 * * * *     /usr/local/bin/hddshutdown >/dev/null
+
+# connection-scheduler
+*/5 * * * *    /usr/local/bin/connscheduler timer > /dev/null
+
+# URL Filter && Update Accelerator
+%nightly * 3-5   /var/ipfire/urlfilter/autoupdate/cron.daily
+%weekly  * 3-5   /var/ipfire/urlfilter/autoupdate/cron.weekly
+%monthly * 3-5 * /var/ipfire/urlfilter/autoupdate/cron.monthly
+%nightly * 3-5   /var/ipfire/updatexlrator/autocheck/cron.daily
+%weekly  * 3-5   /var/ipfire/updatexlrator/autocheck/cron.weekly
+%monthly * 3-5 * /var/ipfire/updatexlrator/autocheck/cron.monthly
+
+# Reset Dialup Statistics
+&bootrun 0 0 1 * *     /usr/local/bin/dialctrl.pl reset