X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fcron%2Fcrontab;h=26bd99f8a454260243dd568134dbd239d5a08ae9;hp=2b747781558fba05e528b410a9c16e2ea84f1536;hb=b2a9871b2788acbaef90776837c579b7dd47fea8;hpb=10e4f2395ed42d50545ef9c3d73994b542e09dac diff --git a/config/cron/crontab b/config/cron/crontab index 2b74778155..26bd99f8a4 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -1,24 +1,28 @@ # -# $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 # Set time */5 * * * * /usr/local/bin/timecheck > /dev/null 2>&1 -# Summarize ip accounting info: -2 1 * * * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the day 2 days ago" >/dev/null -3 1 * * 0 /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the week 4 weeks ago" >/dev/null -4 1 1 2 * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the year 2 years ago" >/dev/null - # Make some nice graphs */5 * * * * /usr/local/bin/makegraphs >/dev/null +17 05 * * * /etc/init.d/tmpfs backup >/dev/null # Force update the dynamic dns registration once a week # Force update even if IP has not changed once a month if 'minimize update' selected in GUI @@ -33,9 +37,18 @@ HOME=/ find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' # hddshutdown -00 * * * * /usr/local/bin/hddshutdown >/dev/null +*/30 * * * * /usr/local/bin/hddshutdown >/dev/null -# URL Filter +# 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