Re: How to disable anacron?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 12, 2009 at 2:35 PM, Tom Horsley<tom.horsley@xxxxxxx> wrote:
> Prior to fedora 11 anacron was a separate service. I could just
> disable it and get rid of its incredibly annoying "helpful"
> behavior which was never under any circumstances actually
> helpful.
>
> In fedora 11, there doesn't appear to be an anacron service
> to disable, yet it is still every bit as annoying as always.
>
> Is there a tutorial anywhere on just how the devil I can
> get rid of anacron and just have my cron jobs run when they
> are actually supposed to run or simply not run at all
> if the system is down?
>
> Do I have to remove anacron then manually supply my own
> /etc/crontab and scripts to run the normal cron.daily,
> cron.weekly, etc. jobs?
>
> Is there a /etc/sysconfig/anacron file I where can set
> ANACRON_DONT_HELP_ME="yes" to make anacron never try to
> do anything? If there isn't one, shouldn't there be?
>

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?)

Regards,

Chris

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux