l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Mar 06 21:45

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] cron - not at a different time (fwd)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] cron - not at a different time (fwd)

on Wed, Mar 03, 2004 at 03:56:05PM -0800, Jeff Newmiller (jdnewmil@dcn.davis.ca.us) wrote:
> I accidentally sent this only to Peter... here it is for the record:
> On Wed, 3 Mar 2004, Peter Jay Salzman wrote:
> > On Wed 03 Mar 04, 12:04 PM, Jeff Newmiller <jdnewmil@dcn.davis.ca.us> said:
> [...]
> > > If cron and anacron are both installed in Debian, /etc/crontab is
> > > configured to skip daily/weekly/monthly processing, because
> > > /etc/anacrontab specifies those as well, and if your machine is regularly
> > > shut down, then anacron is better suited to handle it.  What burns me is
> > > that one _or_ the other should be installed...  someone must have decided
> > > that cron was good for some things and anacron good for others and wanted
> > > both installed... leaving you erroneously thinking you were having some
> > > effect by editing the daily entry in /etc/crontab.
> > > 
> > > In their defense, though, the solution _is_ right there in the line you
> > > edited...
> >  
> > i'm still don't understand -- how does anacron know when, that is the
> > *time* (not the date) to run?
> This puzzled me too.. thanks to Steve Wormley for pointing me to the
> solution:
> Vixie cron processes three sets of crontabs... /etc/crontab, individual
> crontabs (/var/spool/cron/username), and any crontabs found in
> /etc/cron.d/.  anacron is invoked periodically by a line in
> /etc/cron.d/anacron, and uses the period specs in /etc/anacrontab and
> last-executed timestamps in /var/spool/anacron/* to determine whether
> enough time has passed that it should invoke the daily/weekly/monthly
> processing.

    less /usr/share/doc/cron/README.anacron


Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html

Attachment: signature.asc
Description: Digital signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.