updatedb running on every boot

Anthony M. Rasat anthony.rasat at gmail.com
Mon Jan 12 14:54:56 UTC 2009


Ioannis Vranos wrote:
> I want "updatedb" to run at every boot, instead of once a day.
> 
> How may I do that?

Put it before "exit 0" line in /etc/rc.local:

/usr/bin/updatedb

However this would be running as root. You may wish to find out what disadvantage of doing so.


-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com




More information about the ubuntu-users mailing list