On my machine (LM 7.2), slocate is executed via a script called
/etc/cron.daily/slocate.cron - I like having it run every day, because I
am always looking for some file or another, deleting files, adding
files, etc. I get frustrated when a file I *know* is there doesn't show
up when I do a locate search, or conversely when a file I *know* I
deleted does show up in a search.

Again, this is just the way my machine is set up, but since I leave my
machine on most of the time all of the cron.daily scripts are run just
after midnight. I don't believe that any specific time is defined, but
the new day starts at midnight, eh? If my machine is off overnight, then
the daily scripts run when I boot up.

Brian Hartman wrote:
> 
> On Monday 28 May 2001 12:45 pm, Randy Kramer wrote:
> > Although I can't give instant directions on how to solve the problem, I
> > assumed that the slocate database was being updated -- I guess I assumed
> > that every so often was like once a day.  (And Mandrake (7.2) includes a
> > script in run-parts to update the slocate database once a day.
> >
> > I plan to find the script and move it to the weekly or even monthly
> > run-parts directory, or even better (when I learn more) set it to only
> > update the database for directories where I am likely to create new
> > files regularly (like my home directory).
> >
> > Brian -- what is "once in a while"?
> >
> > Thanks,
> > Randy Kramer
> >
> 
> Randy,
> 
> "Once in awhile" usually amounts to every few days.  (I have my computer on
> all the time.)  I'd like to be able to set it to run at *just* certain times
> (say, 4 am) so that it doesnt' get in my way, but still gets done.
-- 

There is a fine line between 'hobby' and 'mental illness'.

Reply via email to