Cron jobs Status
Tools
1 June 2003 The new Gubbio (installed a fresh Debian from LordSutch in May) now has these jobs, copied from the KFA network:
It's very convenient to have the new packages downloaded, even on my fast UCLA network. 11 February 2003 I found out about anacron, the scheduler that handles regular jobs
on machines that don't stay on all the time. There is some kind
of complex link to cron jobs, and I couldn't figure out the exact
logic of it. There are files in /etc/anacron and /etc/cron.daily (and
weekly and monthly), in addition to files in /var/spool/anacron.
Clearly an elaborate system. I just wanted to run ntpdate and
updatedb occasionally. I may be you should also be running mandb as a
cron job. Check out the scripts in /etc -- I didn't want to trigger
all of that!
For the earlier history, see rsync. On 25 November 2002, I discovered that the Kcron interface is buggy -- it got set up for once a minute (which is a feature it doesn't even support) instead of once an hour, apparently by having the "Every day" box checked while all the other boxes were also checked. The workaround is to define all hours with some single exception. I also discovered that each user has a crontab, located in /var/spool/cron/crontabs. The one I defined is root, as follows:
As you can see, I added a >/dev/null 2>&1 to turn off the hourly e-mail to /var/mail/nobody (for instructions, see http://weather.ou.edu/~billston/crontab/). I also added an updatedb --prunepaths='/mnt/novell' to be run at night. issue
to verify that the jobs are running as intended. |
|
|
|
|||||
Maintained by Francis F. Steen, Communication Studies, University of California Los Angeles |