cron & MAILTO
I want to receive email when cront job is run also when cron job crashed.
Below is crontab file specification. Why I'm not receving emails?
//Crontab File
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO='myaddress@email.com'
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
|