FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    flipflap Guest

    how to run updatedb on startup

    hey guys i wanna run updatedb everytime i boot up how do i do it? thanks a lot

  2. #2
    tejas Guest
    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

  3. #3
    ahsien Guest
    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.

  4. #4
    Join Date
    Apr 2005
    Location
    Finland
    Posts
    5,073
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In FC4 you must edit the file /etc/updatedb.conf and set DAILY_UPDATE=yes.

  5. #5
    Join Date
    Apr 2004
    Location
    Ottawa, Canada
    Posts
    1,930
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

Similar Threads

  1. about updatedb
    By yjiang in forum Using Fedora
    Replies: 4
    Last Post: 28th November 2006, 11:42 PM
  2. updatedb
    By complete-noobie in forum Using Fedora
    Replies: 2
    Last Post: 4th June 2006, 01:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •