[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SAGE] crontabs vs /etc/cron.[daily,hourly,*] vs. /etc/cron.d/
Hello,
Well, to add another worm to your can . . .
I'd say, any reasonable SysAdmin should default to /etc/crontab
because every other reasonable SysAdmin already knows where it is. If
anything is used in addition to /etc/crontab, leave a note in
/etc/crontab advising the new guy who just got paged at 3:45am where
else to look for crons.
For production systems, I strongly object to the use of per-user
crontabs. I'm glad to hear I'm not alone. One thing I have to do in
a new environment tends to be to write a script that will sniff out
all the cron entries.
And then there was the shop that used /etc/crontab, user crons, and
anacron to keep crons from running over each other. This frustrated
me enough that I did a poor job of explaining that job concurrency
could easily be ensured by wrapping script through a lockfile or
flock-type program, instead of adding a new layer of system
complexity.
Sincerely,
-danny
--
http://dannyman.toldme.com/