[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: locate



"Andreas Lund" <floyd@atc.no> writes:

> > I´m a newbie, trying to make locate work the expected way.
> >Everytime I try to locate something new in my system, locate
> >provide no information, so I have to imagine the path to the
> >files (usr/bin, etc..)
> >
> > Can anybody tell me how to run a cron to make locate rebuild its
> 
> >database (think should be this way).
> 
> By default, this should be in place already. Check for the file
> /etc/cron.daily/slocate.cron

But remember, your computer has to be up and running at the time
this script is suppose to be run which is roughly 4:00 am.  If you
shut it down then either change the time in /etc/crontab or use
anacron ( I am not familiar with it ).

Cheers,




-- 
Dominic Mitchell





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []