cron mailto
Hi all,
Is there a way that the cron only email to me if the cron jobs fail ?
I receive the emails every hour from the crob jobs that runs hourly.
I have this in the crontab file -
MAILTO=my email address
01 * * * * root nice -n 19 run-parts /etc/cron.hourly
|