rakkad
asked on
Alert if CRON job has failed to start
Hi
I need some assistance if writing a script that will produce a log file and send an e-mail notification if a CRON job fails to start
I need some assistance if writing a script that will produce a log file and send an e-mail notification if a CRON job fails to start
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Adding MAILTO="foo@bar.com" to the top of a crontab will cause any output from the cron job to be emailed. T
If a script or program has the execute bit enabled, then it will start.
What you're likely saying is you'd like all errors produced by your code to send an email.
Verify this is correct or clarify what you're asking.