]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/cron/crontab
Remove ipacsum from contab
[people/pmueller/ipfire-2.x.git] / config / cron / crontab
CommitLineData
cd1a2927 1#
4e565351 2# crontab for ipfire
cd1a2927
MT
3#
4SHELL=/bin/bash
5PATH=/sbin:/bin:/usr/sbin:/usr/bin
6MAILTO=root
7HOME=/
8
649fd295
MT
9# Do all jobs in this directories
10*/1 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.minutely
11*/5 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.cyclic
1201 * * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.hourly
5c8cfc99
MT
13&nice(10),bootrun 25 1 * * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.daily
14&nice(10),bootrun 47 2 * * 0 test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.weekly
15&nice(10),bootrun 52 3 1 * * test -x /usr/local/bin/run-parts && /usr/local/bin/run-parts /etc/fcron.monthly
649fd295 16
cd1a2927
MT
17# Log rotation
1801 * * * * /usr/sbin/logrotate /etc/logrotate.conf
19
cd1a2927
MT
20# Set time
21*/5 * * * * /usr/local/bin/timecheck > /dev/null 2>&1
22
cd1a2927
MT
23# Make some nice graphs
24*/5 * * * * /usr/local/bin/makegraphs >/dev/null
25
26# Force update the dynamic dns registration once a week
27# Force update even if IP has not changed once a month if 'minimize update' selected in GUI
28# to avoid account declared as dead
33a31f1a
MT
29*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl
309 2 * * 0 [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f
313 2 1 * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f -m
cd1a2927
MT
32
33# Logwatch
3401 0 * * * /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \
33a31f1a 35 LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); \
cd1a2927 36 find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';'
6c666a3b
MT
37
38# hddshutdown
4e565351 3902 * * * * /usr/local/bin/hddshutdown >/dev/null
10e4f239 40
46c01c09
MT
41# connection-scheduler
42*/5 * * * * /usr/local/bin/connscheduler timer > /dev/null
43
44# URL Filter && Update Accelerator
10e4f239
MT
45%nightly * 3-5 /var/ipfire/urlfilter/autoupdate/cron.daily
46%weekly * 3-5 /var/ipfire/urlfilter/autoupdate/cron.weekly
47%monthly * 3-5 * /var/ipfire/urlfilter/autoupdate/cron.monthly
46c01c09
MT
48%nightly * 3-5 /var/ipfire/updatexlrator/autocheck/cron.daily
49%weekly * 3-5 /var/ipfire/updatexlrator/autocheck/cron.weekly
50%monthly * 3-5 * /var/ipfire/updatexlrator/autocheck/cron.monthly
77d211a7
MT
51
52# Reset Dialup Statistics
913237b3 53&bootrun 0 0 1 * * /usr/local/bin/dialctrl.pl reset