updatedb

Place to discuss anything, almost. No politics, religion, Microsoft, or anything else that I (the nazi censor) deem inappropriate.

updatedb

Postby Tux » Mon Apr 21, 2003 6:51 am

Does updatedb run periodically?
That is all :)
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Mon Apr 21, 2003 7:38 am

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"
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Mon Apr 21, 2003 7:49 am

Ok, thanks for that void.
It was in RH I was talking about.

ps. Check your mail/PM.
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am


Return to The Lounge

Who is online

Users browsing this forum: No registered users and 1 guest

cron