Mailinglist Archive: opensuse (2243 mails)

< Previous Next >
Re: [opensuse] How to Control the Scheduling of Daily System Housekeeping Activities?
  • From: Anders Johansson <ajohansson@xxxxxxx>
  • Date: Sun, 1 Feb 2009 18:02:47 +0100
  • Message-id: <200902011802.47763.ajohansson@xxxxxxx>
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.

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

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

< Previous Next >
References