Could someone help in writing a shell script to monitor different cron jobs in crontab. As everyone knows different cron jobs run at different time I want to capture following things in ".csv" format:
- Script Name
- Scheduled times
- Next scheduled time
- Last Run time.
- Did the script ended successfully or it had an error after executing (Success/Fail).
I have certain limitations:
syslogis not printing all the debug logs.
- Can't edit crontab.
I have logs which are directed which could be used.