SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Thu, 18 Aug 2005 12:43:10 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Hi,

> The first time I tried a file search under GNOME/SL 4, it mentioned 
> that updatedb had not been run previously.
> 
> What file should I edit to make updatedb running during boot? It 
> isn't in Services.

The following is what is run daily in cron:

# cat /etc/cron.daily/slocate.cron
#!/bin/sh
. /etc/updatedb.conf
[ "$DAILY_UPDATE" != "yes" ] && exit 0
renice +19 -p $$ >/dev/null 2>&1
/usr/bin/updatedb

I don't see any reason why you would want to run it during boot. If you wish
to manually run it at any time, just use:

# updatedb&

Regards,

Michael.

ATOM RSS1 RSS2