LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2009, 03:01 AM   #1
madg
LQ Newbie
 
Registered: Jul 2009
Posts: 1
Blog Entries: 1

Rep: Reputation: 0
Monitoring the status of process run by crontab.


Hello,
I am scheduling some processes to be run at particular instance of time using crontab.
Is there any way in linux to monitor the status of those processes(.i.e whether those processes have run successfully or not) in crontab..??

Thanks and Regards,
Madhu
 
Old 07-02-2009, 05:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
On successful completion of the process (exit 0) you would notice nothing. On error cron should send email to the address configured in the crontab MAILTO variable or crontab owner.
 
Old 07-02-2009, 06:33 AM   #3
geek.ksa
Member
 
Registered: Jan 2009
Location: Dhahran, Saudi Arabia
Distribution: RHEL 5
Posts: 42

Rep: Reputation: 17
from within crontab, why don't you direct processes std out and err to some file . e.g. /var/log/cron and track what your processes do.
(Assuming that these processes have some verbose logging features)
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C server program to be used for continuous monitoring of some status. NancyT Programming 2 04-17-2009 10:23 AM
Self Refreshing Web Page for Status Monitoring markjuggles General 7 05-19-2008 01:57 PM
Monitoring bittorrent-console status XR500Final Linux - Software 0 05-09-2007 12:28 AM
monitoring RAID status esdeedee Linux - Software 1 05-19-2006 12:38 AM
Monitoring crontab process smessall Linux - General 1 09-08-2004 03:18 PM


All times are GMT -5. The time now is 10:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration