X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fcron%2Fcrontab;h=92c3a78ba74cf9267daaadd49d2bd6c5d362877b;hp=0fa7ebcc2b6313705e19d50c677b01e1408db556;hb=fc84e6ec23f824f6a72935c0d274ac4fe948f0a0;hpb=9b50da9df78825a01960a6f7403824eecb135acc diff --git a/config/cron/crontab b/config/cron/crontab index 0fa7ebcc2..92c3a78ba 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -3,7 +3,7 @@ # SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin -MAILTO=root +MAILTO= HOME=/ # Do all jobs in this directories @@ -11,7 +11,7 @@ HOME=/ */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 47 2 * * 1 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 @@ -22,6 +22,7 @@ HOME=/ # Make some nice graphs */5 * * * * /usr/local/bin/makegraphs >/dev/null +17 5 * * * /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 @@ -36,7 +37,7 @@ HOME=/ find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' # hddshutdown -02 * * * * /usr/local/bin/hddshutdown >/dev/null +*/30 * * * * /usr/local/bin/hddshutdown >/dev/null # connection-scheduler */5 * * * * /usr/local/bin/connscheduler timer > /dev/null @@ -49,5 +50,12 @@ HOME=/ %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 +# fireinfo +%nightly,random * 23-4 /usr/bin/sendprofile >/dev/null 2>&1 + +# pakfire +%nightly,random * 23-4 /usr/local/bin/pakfire update >/dev/null 2>&1 + +# Re-read firewall rules every Sunday in March, October and November to take care of daylight saving time +00 3 * 3 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl +00 2 * 10-11 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl