Posted on 2004-08-25
Is there a way to get a report of which execution of a cron did not happen as planned?
Example: I have a cron job thats scheduled to execute every 5 minutes.
I would like to know if it did run once every 5th minute or did it execute for the first 4 instances and then on no new executions took place
Why I need this : I want to use this to monitor if a job is taking more than its scheduled time or hanging.
Is this approach correct?
Or is there a better way to do this?
Any pointer will be helpful.