updatedb running on every boot
Derek Broughton
derek at pointerstop.ca
Mon Jan 12 14:38:35 UTC 2009
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?
Generally you put boot-time scripts into /etc/init.d/ with symlinks from
/etc/c2.d/S*
But if all you want is to be certain that it _does_ get run after every boot
(ie, you're not concerned that it runs every day from cron, anyway) then you
don't need to do anything. anacron always ensures that everything in
/etc/cron.daily that has been missed runs about 5 minutes after booting.
More information about the ubuntu-users
mailing list