Page 1 of 1

updatedb

PostPosted: Mon Apr 21, 2003 6:51 am
by Tux
Does updatedb run periodically?
That is all :)

PostPosted: Mon Apr 21, 2003 7:38 am
by Void Main
It does if your system is configured to run it periodically. :) I don't know what Distro you are running but Red Hat sets it up to run daily in the /etc/cron.daily/slocate.cron script:

slocate.cron:
Code: Select all
#!/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"

PostPosted: Mon Apr 21, 2003 7:49 am
by Tux
Ok, thanks for that void.
It was in RH I was talking about.

ps. Check your mail/PM.