LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-03-2004, 09:42 PM   #1
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Rep: Reputation: 15
Turning off updatedb


updatedb runs continually on my machine, and after searching google I still haven't found a way to configure it. It runs about every 24 hours, which is a hassle because I'm just a simply deskop user -- once a week is more like it for me.

How can I turn this off or customize it simply (Redhat 7.3).
 
Old 10-04-2004, 01:33 AM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Try this (as root):

mv /etc/cron.daily/find /etc/cron.weekly
 
Old 10-04-2004, 01:34 AM   #3
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Oh crap... I missed where you said RedHat 7.3, and read the userinfo that said "Debian".
Have a look at the cron configuration/directories - it might be called something else on RedHat.
 
Old 10-04-2004, 02:09 AM   #4
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
/etc/init.d/rhnsd stop

<edit> woops this means nothing to you. I read this post wrong I thought you said up2date not updatedb

Last edited by micxz; 10-04-2004 at 02:11 AM.
 
Old 10-05-2004, 06:43 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
It's in /etc/cron.daily/slocate -- move the file to /etc/cron.weekly, for instance.
 
Old 10-11-2004, 05:25 AM   #6
kidicarus
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 93

Original Poster
Rep: Reputation: 15
CroMagnon wrote:
Quote:
Try this (as root):

mv /etc/cron.daily/find /etc/cron.weekly
Quote:
Oh crap... I missed where you said RedHat 7.3, and read the userinfo that said "Debian".
Have a look at the cron configuration/directories - it might be called something else on RedHat.
Yeah sorry about that, Debian is one of my main machines and right now Redhat 7.3 is the computer acting as a server routing packates around. I should put Redhat 7.3 there too. This Redhat machine has lasted me for a long time and I've worked on it a lot so I keep it (haven't had a windows pc without formatting it this long).

It's basically the same process only a different file. Debian I don't think runs updatedb all that often.

misc wrote:
Quote:
It's in /etc/cron.daily/slocate -- move the file to /etc/cron.weekly, for instance.
I think that did it, thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between 'updatedb' and 'updatedb&' ?? DreameR-X Linux - Newbie 4 12-18-2004 04:36 PM
updatedb mikedeatworld Linux - Software 21 09-16-2004 10:59 PM
updatedb? nexx_au Fedora 2 04-06-2004 10:17 PM
updatedb pezplaya Fedora 2 01-05-2004 05:32 PM
turning off updatedb alofatti Linux - General 4 06-19-2003 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration