diff options
author | des <des@FreeBSD.org> | 2000-12-10 12:54:34 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-12-10 12:54:34 +0000 |
commit | 19c5ff6c31a7ff3f5b31c96dd4f9658da4ce03bd (patch) | |
tree | b77fabdef59f1fb633e661c70dfea04dab186175 | |
parent | 3e6200a674de61d7bddba617bb4cf4da8b864d03 (diff) | |
download | FreeBSD-src-19c5ff6c31a7ff3f5b31c96dd4f9658da4ce03bd.zip FreeBSD-src-19c5ff6c31a7ff3f5b31c96dd4f9658da4ce03bd.tar.gz |
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.
-rw-r--r-- | etc/crontab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/crontab b/etc/crontab index 784980c..bd12b2d 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, |