-   Linux - General (
-   -   Monitoring crontab process (

smessall 09-08-2004 12:56 PM

Monitoring crontab process
Is there any way to monitor the crontab process itself? We have several cron jobs that do batch processing and we've run into a problem with cron crashing occassionally, meaning our batch processes aren't run. I know I could write a script to watch a process and run the script through cron, but that kind of defeats my purpose.

Ideally, I'd like to monitor the crontab process with SNMP if possible. Any help would be greatly appreciated.

Tinkster 09-08-2004 02:18 PM

Depends on how your cron "crashes" ....
If it actually dies you're fine, you can run a
script from rc.local that checks
ps aux | grep cron
every minute, and screams when its gone.


All times are GMT -5. The time now is 12:08 PM.