summaryrefslogtreecommitdiff
path: root/etc/crontab
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-12-11 17:31:44 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-12-11 17:31:44 +0000
commitef54189fc9543163e57a13e4534c8d159d9fd19c (patch)
tree378281aa227296bc4e9ace3f12f7eeebb2804740 /etc/crontab
parent7a2650d625b4351eb2d135ab598da622b6657320 (diff)
Notes
Diffstat (limited to 'etc/crontab')
-rw-r--r--etc/crontab11
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/crontab b/etc/crontab
index bd12b2dcdb54..b64a804f2628 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -13,10 +13,13 @@ HOME=/var/log
# rotate log files every hour, if necessary
0 * * * * root newsyslog
#
-# do daily/weekly/monthly maintenance
-1 3 * * 0-5 root periodic daily
-1 3 * * 6 root periodic daily weekly
-30 5 1 * * root periodic monthly
+# Do daily/weekly/monthly maintenance.
+# These four rules make sure the right maintenance scripts run one
+# after the other on the right day.
+1 3 2-31 * 0-5 root periodic daily
+1 3 2-31 * 6 root periodic daily weekly
+1 3 1 * 0-5 root periodic daily monthly
+1 3 1 * 6 root periodic daily weekly monthly
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.