Every day at 9am my Redhat 9 distro automatically runs updatedb. The
problem is that 9am is in the middle of class and causes sluggish
performance (while the database is updated) and is generally annoying.
My crontab displays the following:
-----------------------------------
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
-----------------------------------
My cron.daily includes the following:
--------------------------------------
" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /etc/cron.daily/
../
00-logwatch
0anacron
logrotate
makewhatis.cron
rpm
slocate.cron
tetex.cron
tmpwatch
---------------------
The contents of slocate.cron are:
-------------------------------
#!/bin/sh
renice +19 -p $$ >/dev/null 2>&1
/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"
-----------------------
My question is, it appears from my crontab that cron.daily runs at
4:02am. However, my computer is never on at 4am. How then does linux
decide to rerun cron.daily at 9am? How can I change this?
Thanks!
_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies