LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-08-2004, 12:56 PM   #1
smessall
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
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.
 
Old 09-08-2004, 02:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring bandwdth use by process psychen6 Linux - Networking 1 11-22-2005 08:24 PM
simple, maybe complicated process monitoring jwstric2 Programming 1 02-04-2005 12:45 AM
Process monitoring tools IanChristie Linux - Networking 4 11-01-2004 02:28 PM
Process Monitoring arb Linux - Newbie 1 09-15-2003 08:35 AM
Process monitoring arb Linux - General 3 09-15-2003 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration