SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

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

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

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Thu, 18 Aug 2005 12:43:10 +1000
MIME-version:
1.0
Reply-To:
Michael Mansour <[log in to unmask]>
Content-type:
text/plain; charset=iso-8859-1
Subject:
From:
Michael Mansour <[log in to unmask]>
In-Reply-To:
Comments:
To: Ioannis Vranos <[log in to unmask]>, Scientific Linux Users mailing list <[log in to unmask]>
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