Stop anacron?

inode0 inode0 at gmail.com
Tue Dec 25 04:50:21 UTC 2007


On Dec 24, 2007 8:59 PM, John Poelstra <poelstra at redhat.com> wrote:
> Bob Goodwin said the following on 12/24/2007 08:34 AM Pacific Time:
> >
> > How can I stop anacron from running if cron has already run just before?
> >
> > Or if they would each save to different log files I guess that would
> > work too.
> >
> > As it is if the computer is running at four in the morning both are
> > saved to a file that is sent to me and I wind up reading through
> > essentially the same set of data twice.  A minor thing I suppose but I
> > would prefer getting it only once.
> >
> > Bob Goodwin
> >
> >
>
> Some people (like me) simply disable anacron for this reason on all of
> my boxes.  None of my cron jobs are so important that they need to be
> run if they missed their originally scheduled time--particularly on laptops.
>
> chkconfig --del anacron

I find it especially annoying on laptops to have it run unexpectedly
and also disable it on all systems. After major updates or after
cronjobs haven't run in a long time I do occasionally just run
"anacron -f -d -n" to execute them when it is convenient for me.

John




More information about the users mailing list