-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 27 February 2003 10:43, Prabu Subroto wrote:
Dear Bruce...
Nope, I still didn't find that....Here what I have done: " patrix:/etc/cron.daily # grep -n "updatedb*" ./* patrix:/etc/cron.daily # "
Do you still have another idea?
Thank you very much my friend....
The actual running of the cron job that updates the locate database is done by the file /etc/cron.daily/updatedb. But, as others said, it is worth having going. the "locate" command is invaluable for finding files on file systems with thousands of files. "updatedb" is supposed to run in the wee hours of the morning, when no one is normally on the system. If the time that it is running is inappropriate for your system, maybe you should change cron to run it at a time that is more system-load appropriate. The line to change is in file /etc/crontab: 14 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily The "14" is the minutes, the "0" is the hour(using a 24 hour clock), So, on my system, updatedb runs daily, along with all other scripts in /etc/cron.daily, at 14 minutes past midnight. HTH. - -- Mitch Thompson, San Antonio TX // WB5UZG Red Hat Certified Engineer (RHCE) http://home.satx.rr.com/mlthompson Independent Amsoil Dealer http://amsdealer.webhop.biz GPG: BBDA 3A2A 4483 BD0D 7CED B8A9 D183 C8F6 B0AF 66AE wget -O - http://home.satx.rr.com/mlthompson/pubkey.gpg | gpg --import - -- "There are 10 kinds of people in the world: those who understand binary, and those who don't." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iQIXAwUBPmXmktGDyPawr2auFAIuqgf8DPuAKyUg+XNphW+I8vmDH5iGqLdMFTsI d1L05AZ6O6FHZLelc9wYppZMnLsO7OaNbeCi7HBxs+NOF9Y0to+MOgFTxEkw6XXl MOidNBmsYez98jj+x2g56hnwUi18M2phuaCugEafwZaGBGVyi14BZ1Uyzk3hywVL 2Co1FXLoSDcfAFXI72kXYxJ2wsyFacNmNUfPg2bZiT9VE46bTC+NmxCoYz04Hs18 KwkwUvqhIltou1FoTaemJHwiCEfED5aPfA0hrsFaaLzoVHMLeHu+oFnv+/+xUzxd 0zCE61+BvhyLrOhrDvZbIp3a/UoRQSdamBKDpHk84tdk45oYrjhQwggAmcjYZi0g fWqIt/7wke4JMyOzPCm6wooCC6mr4Bq4X88sHp2iaBiKDyvFTTL1zpR452xpsei0 gx+n/AfwpFJTSUbxw3PvTIzVq3rSnRAEQBQZ2gCZaa/byuivk9fdPt3+26hnGPBV bs6LTG3yNYbkLCtjtQjsWdCX6IR0KuYdxe9YivFFLWN8WGo6ycJWGvsvlhxcZ+Ac gPxx7zRueO87TjOaLPKrT/6DVb4ASGK8BFMRYonzCpQkkxc2m91GesenlndzmSV0 RaAf6JVUx+AW6Z0KRypLG7eYiaHN8K8+WnHTbHU528Rs4mkcGmCCLlUTLy5e0TCa NxNu1eEqR9rpvw== =OAd6 -----END PGP SIGNATURE-----