I have set some cron jobs in an ec2 instance. I want to be notified whenever a cron job fails in an ec2. In my cron.log, I don't see any error or alert even if the cron fails to execute. How can I capture the failed crons and send cloud watch alarm which can be picked up by SNS.
Thank you.