Mailinglist Archive: opensuse (2243 mails)

< Previous Next >
Re: [opensuse] How to Control the Scheduling of Daily System Housekeeping Activities?
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sun, 1 Feb 2009 09:13:56 -0800
  • Message-id: <200902010913.56545.rschulz@xxxxxxxxx>
On Sunday February 1 2009, Anders Johansson wrote:
On Sunday 01 February 2009 17:50:07 Randall R Schulz wrote:
Hi,

The daily regeneration of my locate database (the execution
of "updatedb") is occurring at an inopportune time and I'd like to
change it (this system runs 24/7).

How can this be accomplished?

A few possibilities, depending on which suse version you have.

Sorry, that was remiss of me. It's openSUSE 11.1.


Something that will work on all versions, is to remove the script
from /etc/cron.daily, put it someplace else, and add a separate entry
for it in /etc/crontab

Or, at least in later suse versions, you can edit /etc/sysconfig/cron
and set DAILY_TIME to the time at which you want it to run, but this
will then affect all jobs in cron.daily

Thanks (to both you and Pat). This sounds like the best approach.


Anders


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >