On Sat, 8 Oct 2005, Daniel Berger wrote:

> Rob Rypka wrote:
>
>> I thought cron (at least Vixie cron) sends mail whenever a script has
>> console output.  Generally, when I do cron stuff, I only have output
>> if something goes wrong.  If Ruby throws an uncaught exception, the
>> output is pretty much what I would want to see anyways.
>
> The admin was getting irritated with the mail that would collect, so we 
> redirected stderr to the log as well, per his request.
>
> Also, sometimes that mail would simply disappear into the ether, or appear 
> days later.  It just wasn't reliable, for reasons unknown.
>
> Regards,
>
> Dan

btw.  in cron you can set MAILTO to be any address.  any program which prints
to stderr will have message sent to this address.  then you can simply use
ruby mail tools to scan the message looking for anything relevant and deleting
the rest.

fyi.

-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze.  --Nagarjuna
===============================================================================