From 5af1702a8f0ad116b22c105f5d3846efd8a4ed25 Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Sun, 10 Dec 2000 12:54:34 +0000 Subject: On Sundays through Fridays, run daily at 03:01 am. On Saturdays, run daily and weekly sequentially, starting at 03:01 am. This prevents daily and weekly from overlapping, while running weekly as early as possible (i.e. as soon as daily finishes) to give it time to finish before monthly starts at 05:30 am. It's probably possible to do something similar with monthly, making it run as soon as daily (and possibly weekly, if the first of the month is a Saturday) finishes, but this is left as an exercise for the reader. --- etc/crontab | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/crontab') diff --git a/etc/crontab b/etc/crontab index 784980c48d63..bd12b2dcdb54 100644 --- a/etc/crontab +++ b/etc/crontab @@ -14,8 +14,8 @@ HOME=/var/log 0 * * * * root newsyslog # # do daily/weekly/monthly maintenance -1 3 * * * root periodic daily -15 4 * * 6 root periodic weekly +1 3 * * 0-5 root periodic daily +1 3 * * 6 root periodic daily weekly 30 5 1 * * root periodic monthly # # time zone change adjustment for wall cmos clock, -- cgit v1.3