Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Send mail when cron fails in Linux server  (Read 2138 times)

0 Members and 1 Guest are viewing this topic.

nirmal

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
Send mail when cron fails in Linux server
« 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
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!