Re: Announcing bcron version 0.08

Bruce Guenter <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
On Sun, Apr 03, 2005 at 07:24:03PM -0600, Bruce Guenter wrote:
> > Hmm, the bcron-update service still bugs me somehow.  It could be
> > replaced with a magic file in /var/spool/cron/crontabs/ for example, so
> > saving one service, having the system crontabs updated through a program
> > run by bcron-exec.
> 
> You know, that even makes sense.  I'm not sure why I didn't do it that
> way myself.  bcron-update already updates the sched through the trigger,
> so changes are scheduled in the next minute after the update.

One problem with this is that, in order to determine what files are new,
bcron-update will have to open and read all the directories involved,
which will cause atime updates every minute.  This is a pain for systems
such as laptops, which will want to spin down their hard drives.  I can,
however, add a "one-shot" flag to -update so that it can be used both
ways if this is still desirable.
-- 
Bruce Guenter <[email protected]> http://em.ca/~bruceg/ http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCrfoj6W+y3GmZgOgRAvyvAJ4/1Z581Me7pMPk5kH6eRkq8qI4owCfbeC/
YAyJU+vEpY21Qn9+x/q8BSE=
=fPp0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.