precedence in crontabs
David Mostardi
david at mobius.msri.org
Sat Mar 2 07:37:07 AEST 1991
This is my backup strategy (fairly standard):
level 9, Tues-Fri
level 5, Sat
level 0, 1st of the Month
The problem: one can't specify both "first of the month" and
"day of the week" in one crontab line. So, I would need to
do it in two lines. What are the precedence rules? For example,
if I say this:
0 4 1 * * /usr/etc/rdump 0ubcdsf ...
0 4 * * 6 /usr/etc/rdump 5ubcdsf ...
0 4 * * 2,3,4,5 /usr/etc/rdump 9ubcdsf ...
and the 1st of the month is a Wednesday, does the level 0 backup
or the level 9 backup occur?
Thanks,
David
--
******************************************************************
David Mostardi "Where the coffee is strong,
Systems Administrator the cat is good-looking,
MSRI, Berkeley CA and all the theorems are above-average."
More information about the Comp.unix.admin
mailing list