Jump to content

updatedb and locate

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
When I use the command locate I often get an out of date db error. I then have to run updatedb which takes a long time. Is there anyway to automate the process?

#2
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
I found an option that I set to "1" in the updatedb shell file. It was in /etc/cron.daily/