I'm trying to send cron output to an email address and am struggling... I'm running the following command:
13 15 * * 1-5 root /path/to/mysql-backup.sh 2>&1 | mail -s "Daily Database Backup Report" firstname.lastname@example.org
That shows this error within
/usr/bin/mail: line 1: syntax error near unexpected token `(' /usr/bin/mail: line 1: `Config file not found (-s)'
Is this trying to validate/execute the output of the cron?
Do you do this on your server? If so, how?