Cron: E-Mail me only when necessary
I have written a shell script that I have Cron execute every hour. Cron e-mails me every hour when the script is executed. I would prefer it to e-mail me only when my script returns a non-zero exit status.
How should I go about doing this?