updatedb running on every boot

Derek Broughton derek at pointerstop.ca
Tue Jan 13 00:58:25 UTC 2009


Anthony M. Rasat wrote:

> 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.
> 
Er.... updatedb _must_ run as root :-)






More information about the ubuntu-users mailing list