Get Cron Job execution notification via Mail

Author - Parminder Kaur
30.01.2017
|
0 Comments
|

Whenever a cron job is executed, one can get email notification of cron job execution if the cron job doesn’t run successfully or there is a bug in cronjob file.

These are the steps in Terminal

1.crontab -e
2.MAILTO = xyz@gmail.com
3.Write cronjob.
1

2

Below is the cronjob error email:

3

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *

Send your message