Change time updatedb is run

Gary Hodges fsunoles at gmail.com
Wed Jan 18 15:44:19 UTC 2006


I'd like to change the time updatedb is run.  I've figured out it is
run from a cron.daily entry and further investigation reveals the
following file:

---------------------
/etc>more anacrontab
# /etc/anacrontab: configuration file for anacron

# See anacron(8) and anacrontab(5) for details.

SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

# These replace cron's entries
1       5       cron.daily       nice run-parts --report /etc/cron.daily
7       10      cron.weekly      nice run-parts --report /etc/cron.weekly
@monthly        15      cron.monthly nice run-parts --report /etc/cron.monthly
----------------------

It looks like cron.daily is run daily at one minute past 5:00 AM.  Can
I edit this file so that it runs an hour (or two) earlier or will
changing the time cause problems with other programs?




More information about the ubuntu-users mailing list