[lug] crond and batching up emails
Ken Kinder
kkinder at gmail.com
Tue Jan 24 11:46:59 MST 2006
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?
Stop the madness!
-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20060124/e0097dad/attachment.html>
More information about the LUG
mailing list