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

Re: crons scripts should report status info in the mail



-----BEGIN PGP SIGNED MESSAGE-----

Karl M. Hegbloom <karlheg@inetarena.com> writes:

> Since the output from cron jobs is mailed anyhow, as it should be, I
> think that all cron scripts should report in as they are run, and
> that this should be made a standard.  Here's why.

If you've ever administered over 100 machines, getting cron output
mailed to root for anything and everthing gets really old fast.  Most
people use procmail (or some other filter) to make it manageable, but
at that point, why not just log it?

Only errors (as opposed to spurious stdout and stderr messages) should
be reported in the mail.

It might also pay to offer a "log errors instead of mailing them"
option (plus a few corollary options) for the base-system root cron
jobs.

Dan

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv

iQCVAwUBM3/svakybebRDjw1AQHdaAP9HxBT4fKDFGmoYWDHdzo7bGvm+N5j9317
AbtKqUPyMjpmY6G3an6q6SV97xBf3i2z9KvrwVXZucALs26jaGIhnonks/ZT58oQ
gcygMg2+pai6b6A6WLX7+C7IMUcVqu8NHS2QPu973HuHJBSAffZE+/padAFd91zO
x+yK9tnC9OU=
=wcxd
-----END PGP SIGNATURE-----


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: