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

Re: Is anacron right for me?



Anacron is called by cron.  So yes it does get called periodically.  I
used it on my home system when I ran a dual-boot.  Sometimes I was in
Linux for several days, other times it was only an hour here or there. 
Nowadays I use cron because I have a 24-7 uptime.

servis@purdue.edu wrote:
> 
> *-Shaleh ( 1 Jul)
> | Anacron does a more fuzzy time check.  It does not give precision of
> | "has it been one hour".  It will insure that cron.{daily,weekly,monthly}
> | are run though.  For you, I do not see the gain of anacron UNLESS your
> | machine is never on at the same times.  Normal cron only runs at say
> | 1am, where anacron will say "it has been >= one day, I need to run
> | cron.daily".  So if your machines frequently miss cron.daily's run, then
> | yes anacron is right for you.  Other wise if it is just a case of your
> | machines missing a day or thee, that is not a problem.  If no logs are
> | created, there are none to rotate.
> |
> 
> Does anacron continually check the elapsed time or does it only check
> when it is first started?  None of the documentation was very clear on
> this issue.  If it continually checks(like cron) then this is ideal.
> If it only checks when first started then anacron can only be
> successful on a machine that is rebooted at least once a week.
> 
> Still a little fuzzy,
> 
> Brian
> --
> Mechanical Engineering                              servis@purdue.edu
> Purdue University                   http://www.ecn.purdue.edu/~servis


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: