updatedb running on every boot

Smoot Carl-Mitchell smoot at tic.com
Mon Jan 12 18:45:40 UTC 2009


On Mon, 2009-01-12 at 09:22 +0200, James Matthews wrote:

> On Mon, Jan 12, 2009 at 9:14 AM, Luke Militello
> <luke at digitalenigma.net> wrote:
>         Ioannis Vranos wrote:
>         > OS: Ubuntu 8.10 x86.
>         >
>         > I want "updatedb" to run at every boot, instead of once a
>         day.
>         >
>         > How may I do that?
>         >
>         >

You also need to remove /etc/cron.daily/mlocate which calls updatedb
once a day.  You can do this by changing the permissions on the mlocate
script to remove the execute bits.  When you do that the script will be
ignored by anacron.

-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list