Fedora Linux Support Community & Resources Center
  #1  
Old 24th July 2005, 01:26 PM
flipflap Offline
Registered User
 
Join Date: Jul 2005
Posts: 9
how to run updatedb on startup

hey guys i wanna run updatedb everytime i boot up how do i do it? thanks a lot
Reply With Quote
  #2  
Old 24th July 2005, 01:54 PM
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 27
Posts: 1,574
you can add the line updatebd to the file

/etc/rc.d/rc.local

in anycase, there is an updatedb.conf or somethin in /etc, where you can uncomment a particular line to make updatedb run once a week.

Read man updatedb for details

- Tejas Dinkar
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
Reply With Quote
  #3  
Old 24th July 2005, 06:35 PM
ahsien Offline
Registered User
 
Join Date: Jun 2005
Location: USA
Posts: 9
default settig,updatedb,it has been in /etc/cron.daily and its name is slocate.cron
if you want to run updatedb on startup, you can add the line updatebd to the file
/etc/rc.d/rc.local.
Reply With Quote
  #4  
Old 24th July 2005, 06:39 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
In FC4 you must edit the file /etc/updatedb.conf and set DAILY_UPDATE=yes.
Reply With Quote
  #5  
Old 24th July 2005, 06:45 PM
jtang613 Offline
Registered User
 
Join Date: Apr 2004
Location: Ottawa, Canada
Posts: 1,931
If you do decide to add updatedb to your rc.local - make sure to set it to run in the background, else your system will block until it finishes. To run it in the background, use the '&' suffix.

Ex:
Code:
updatedb &
m2c,
Jason
__________________
There is no 'CTRL' button on Chuck Norris's computer. Chuck Norris is always in control.
Reply With Quote
Reply

Tags
run, startup, updatedb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
about updatedb yjiang Using Fedora 4 28th November 2006 10:42 PM
updatedb complete-noobie Using Fedora 2 4th June 2006 01:37 PM


Current GMT-time: 18:12 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Langley Instagram Photos - Torres Vedras Travel Photos - Comrat Instagram Photos