search/index software

Romeyn Prescott prescor at digirom.potsdam.edu
Tue Nov 30 13:41:47 UTC 2004


At 10:32 AM +0000 11/30/04, Shango Oluwa scribbled:
>On Tue, 2004-11-30 at 01:04 -0700, zer0halo wrote:
>>  Shango, how do you get locate to update daily? it doesn't do so on my
>>  setup--I have to update it manually. How do I add it to my cron job
>>  list and how do I tell it to update? thanks.
>
>If you have installed warty then the cronjob for this should exist:
>
>Navigate to /etc/cron.daily and there you'll find a script called
>'slocate'...
>
>this script contains amongst (other things) the 'updatedb' command
>
>Now 'cat' the contents of /etc/crontab and you should see an entry that
>runs the scripts in /etc/cron.daily at 06:25 everyday
>
>If that is not the case then you should make sure that the cron daemon
>is running:
>
>	ps aux | grep cron
>
>if not then post to the list again for a solution, allright?
>

If' I've just installed something or I know it's been "a while" since 
the locate db was updated, I just type 'locate -u'.

...ROMeyn
-- 
signat-url: http://www2.potsdam.edu/prescor/signat-url.htm




More information about the ubuntu-users mailing list