X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fcron%2Fcrontab;h=5cca1facc4601655514392f04f2907c93e535a27;hp=e0037fe01d76bdc77b583fb8aaf91c4f4adc22b0;hb=841e825e7ba07fd704c2ccd1601a2a2237576884;hpb=5c8cfc9949bb66b7f91c2c413afd124de5cc4a8f diff --git a/config/cron/crontab b/config/cron/crontab index e0037fe01d..5cca1facc4 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 @@ -20,13 +20,9 @@ HOME=/ # 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 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 @@ -41,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 @@ -55,4 +51,10 @@ HOME=/ %monthly * 3-5 * /var/ipfire/updatexlrator/autocheck/cron.monthly # Reset Dialup Statistics -bootrun 0 0 1 * * /usr/local/bin/dialctrl.pl reset +&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