Re: 'locate' does not check permissions
Pedro Zorzenon Neto wrote:
>
> 'slocate' is what I needed.
>
> Since this computer is turned off at night, cron will not run
> slocate updates. so I put a line in root's crontab:
>
> @reboot sleep 1200; /usr/bin/nice -n 19 /etc/cron.daily/slocate
>
> That makes my slocate database always updated.
You should better install anacron, it will ensure daily/weekly/monthly
jobs are run even if the machine is not turned on 24h a day !
--
Christophe "CHiPs" PETIT <chips@chips.fr.eu.org> http://chips.free.fr/
Linux-Nantes: partagez votre savoir - http://www.linux-nantes.fr.eu.org/
Debian: When Code Matters More Than Commercials -
http://www.debian.org/
[A pound of salt will not sweeten a single cup of tea.]
Reply to: