I have the following entry running and I receive an email..
MAILTOemail@example.com * * * * * echo "blaah"
However, when I have this as a cron job, no email is received...
MAILTOfirstname.lastname@example.org * * * * * sh /scripts/mysql-backup-bak.sh >> /var/log/mysql-backup.log 2>&1
...although the script runs and sends to the log file just fine. What I'm ultimately trying to do is have it send an email for any errors. But at this point, I can't get it to send at anytime. Is this possible?