Locate's a great tool. I've got mine set to run at 4am - and it runs for my
Win partition as well. Especially nice for string searches.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike MacCana
Sent: Thursday, December 28, 2000 5:36 AM
To: Chris Aakre
Cc: [EMAIL PROTECTED]
Subject: Re: [expert] What the heck is this daily cron task?


Its the locate database updating. At any time you can type `locate
[filename}' and instantly find the file. You update the databse where it
stores all the files and their locations as rot by doing `updatedb'.

Feel free to get rid of it if you wish.

Mike

------------------------------------------
Mike MacCana            Support Consultant
          C Y B E R S O U R C E
   Level 9, 140 Queen St Melbourne 3000
Ph : +61 3 9642 5997 Fax: +61 3 9642 5998

On Wed, 27 Dec 2000, Chris Aakre wrote:

> What is this task:
>
> [chris@localhost cron.daily]$ less slocate.cron
>
> #!/bin/sh
>
> /usr/bin/slocate -u -f
"udf,nfs,smbfs,ncpfs,proc,devpts,iso9660,usbdevfs" -e
> "/tmp,/var/tmp,/usr/tmp,/afs,/net"
>
> This annoying task looks around on my hard drive for half an hour,
consuming
> 50% of my CPU time on a PII 300. Is this needed? Can I cancel it? I have
no
> idea what it's trying to do.
>
> Thanks in advance.
>
> --
> Chris Aakre
>
>



Reply via email to