[lug] crond and batching up emails

Zan Lynx zlynx at acm.org
Tue Jan 24 13:09:51 MST 2006


On Tue, 2006-01-24 at 11:46 -0700, Ken Kinder wrote:
> I have a script that logs stuff. It's in a cron job. I *want* the
> email with the output of the script, but I only want *one* email. For
> someone reason the gentoo server I'm working with seems to think that
> every time standard-output is flushed, that's cause for another email.
> So I get basically an email for every single line of output from my
> script. 
> 
> How do I get: one script execution, one email?

Wow, that's really strange.  I run Gentoo and I get one cron job, one
email.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20060124/b440d506/attachment.pgp>


More information about the LUG mailing list