RE: [newbie] Re: [expert] What the heck is this daily cron task?

2000-12-29 Thread John Hart

You may want to download the latest slocate RPM since it is vulnerable.


---gui is for wussies---


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of A V Flinsch
Sent: Thursday, December 28, 2000 9:37 AM
To: [EMAIL PROTECTED]
Subject: [newbie] Re: [expert] What the heck is this daily cron task?



> 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.

It is building the database used by locate. Locate allows you to quickly
find a file, or files with a given stirng int he name. It is pretty
useful.

If you find it annoying, you can remove the entry from the crontab. If
you find locate to be useful, perhaps you can reschedule it to run at a
more convient time for you.



--
Alex
(Go easy on me, I'm a COBOL programmer in real life)




Re: [newbie] Re: [expert] What the heck is this daily cron task?

2000-12-28 Thread Ronald J. Hall

A V Flinsch wrote:

> It is building the database used by locate. Locate allows you to quickly
> find a file, or files with a given stirng int he name. It is pretty
> useful.
> 
> If you find it annoying, you can remove the entry from the crontab. If
> you find locate to be useful, perhaps you can reschedule it to run at a
> more convient time for you.
> 
> --
> Alex
> (Go easy on me, I'm a COBOL programmer in real life)

Alex has it right, and there is another option, remove the entry, and anytime
you think enough has changed on your system to warrant it, issue a:

locate -u

command, and it will update itself then...at -your- convenience.

"locate" to me is *very* useful. Wouldn't want to be without it... ;-)

-- 
 
 /\
 Dark>


[newbie] Re: [expert] What the heck is this daily cron task?

2000-12-28 Thread A V Flinsch


> 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.

It is building the database used by locate. Locate allows you to quickly
find a file, or files with a given stirng int he name. It is pretty
useful.

If you find it annoying, you can remove the entry from the crontab. If
you find locate to be useful, perhaps you can reschedule it to run at a
more convient time for you.



--
Alex
(Go easy on me, I'm a COBOL programmer in real life)