[vox-tech] cron - not at a different time (fwd)
Karsten M. Self
vox-tech@lists.lugod.org
Sat, 6 Mar 2004 20:00:09 -0800
--XuV1QlJbYrcVoo+x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
on Wed, Mar 03, 2004 at 03:56:05PM -0800, Jeff Newmiller (jdnewmil@dcn.davi=
s.ca.us) wrote:
> I accidentally sent this only to Peter... here it is for the record:
>=20
> On Wed, 3 Mar 2004, Peter Jay Salzman wrote:
>=20
> > On Wed 03 Mar 04, 12:04 PM, Jeff Newmiller <jdnewmil@dcn.davis.ca.us> s=
aid:
>=20
> [...]
>=20
> > > 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 regul=
arly
> > > 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 dec=
ided
> > > that cron was good for some things and anacron good for others and wa=
nted
> > > both installed... leaving you erroneously thinking you were having so=
me
> > > effect by editing the daily entry in /etc/crontab.
> > >=20
> > > In their defense, though, the solution _is_ right there in the line y=
ou
> > > edited...
> > =20
> > i'm still don't understand -- how does anacron know when, that is the
> > *time* (not the date) to run?
>=20
> This puzzled me too.. thanks to Steve Wormley for pointing me to the
> solution:
>=20
> 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
Peace.
--=20
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
--XuV1QlJbYrcVoo+x
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFASp5IefG8443k044RAo34AJ9L/KThyXOm94+dd+imEW5TsMZOIgCggkEQ
Tey7wXlPP38aJH2blBIZgsw=
=VIO3
-----END PGP SIGNATURE-----
--XuV1QlJbYrcVoo+x--