Admin-Ahead Community

Linux => General Linux => Topic started by: nirmal on November 17, 2013, 01:46:25 pm

Title: Send mail when cron fails in Linux server
Post by: nirmal on November 17, 2013, 01:46:25 pm
Hi all,

If your cronjob failed to execute then you will be getting alert message to your email id.

Here we go.
$ crontab -e
At the top of the file, enter:
MAILTO=”support@urmail.com”

Thanks