Anne Wilson wrote:
> I thought I had set up a cron job (using webmin) to update
> the database every night.  Indeed, I thought I had seen
> indication that it had run, but today I have seen
>
> slocate: warning: database /var/lib/slocate/slocate.db' is
> more than 8 days old
>
> How can I find what went wrong?  Could it be that I have
> set it as a user and it needs to be root?
>
> Anne

due to complaints that vigorous disk activity was occurring 
when a system was first booted up (anacron running jobs that 
were missed because the system was turned off), anacron was 
not installed by default as of 9.0.  install it and it'll 
begin working.

urpmi anacron

Anacron  can be used to execute commands periodically, with a 
frequency specified in days.  Unlike cron(8), it does not 
assume that the machine is running continuously.  Hence, it 
can be used on machines that aren't running 24 hours a day, 
to control daily, weekly, and monthly jobs that are usually 
controlled by cron.

-- 
Alan

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to