Hi Guys
I have a script running that is suppose to email me the backup results:
Can you see if I'm doing anything wrong as the email is not coming through?
I have a script running that is suppose to email me the backup results:
#Add mail recipients here - comma seperated : MAILTO=xyz@somewhere.com,abc@somewhere.com
MAILTO=me@mycompany.local
tar cvf /dev/st0 / 2>/local/root_backuplog.err >/local/root_backuplog
mt -f /dev/st0 offline
tail -n 15 /local/root_backuplog | mutt -x -a /local/root_backuplog.err -s "Daily backup logs" $MAILTO
/local/removetmp
/sbin/shutdown -g0 -y -i6
Can you see if I'm doing anything wrong as the email is not coming through?