How to disable anacron?

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Jun 12 13:53:44 UTC 2009


Chris Rouch wrote:
> 
> I think removing "/etc/cron.d/0hourly" should have the same effect as
> disabling the service used to. Of course then none of your jobs in
> cron.daily or cron.weekly will ever be run. A less drastic approach
> would be to remove the jobs in cron.daily and cron.weekly that are
> causing problems (presumably prelink or mlocate?)
> 
Removing the /etc/cron.d/0hourly symlink will have no affect on any
other jobs - it will just stop anacron's hourly check for missed
jobs. You can completely remove anacron, and all the rest of the
cron jobs will still run fine on a machine that runs 24/7. All
anacron does is run missed cron jobs - such as jobs scheduled to run
when the machine was powered off.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090612/070cdd2b/attachment-0001.sig>


More information about the fedora-list mailing list