home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / shell / 4740 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  990 b 

  1. Xref: sparky comp.unix.shell:4740 comp.unix.programmer:5306
  2. Newsgroups: comp.unix.shell,comp.unix.programmer
  3. Path: sparky!uunet!gumby!wupost!cs.utexas.edu!tamsun.tamu.edu!spatel
  4. From: spatel@cs.tamu.edu (Samir K Patel)
  5. Subject: Cron Script to check & auto-restart the died process periodically
  6. Message-ID: <1992Nov16.213830.25277@tamsun.tamu.edu>
  7. Sender: news@tamsun.tamu.edu (Read News)
  8. Organization: Computer Science Department, Texas A&M University
  9. Date: Mon, 16 Nov 1992 21:38:30 GMT
  10. Lines: 18
  11.  
  12.  
  13.  
  14.   We have some system processes running in background to ingest the realtime
  15.   data from various ports. This processes are started at the boot time by
  16.   rc.local. 
  17.  
  18.   Now some time this processes dies due to some errors in the data feed
  19.  
  20.   So we need to periodically check that this processes are running and
  21.   if not we need to restart the process. I think cron can do it but I don't
  22.   know exactly how to check that process is running or not.
  23.  
  24.  
  25.   Samir ( spatel@photon.cs.tamu.edu )
  26.  
  27.  
  28.  
  29.  
  30.