home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.shell:4740 comp.unix.programmer:5306
- Newsgroups: comp.unix.shell,comp.unix.programmer
- Path: sparky!uunet!gumby!wupost!cs.utexas.edu!tamsun.tamu.edu!spatel
- From: spatel@cs.tamu.edu (Samir K Patel)
- Subject: Cron Script to check & auto-restart the died process periodically
- Message-ID: <1992Nov16.213830.25277@tamsun.tamu.edu>
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Computer Science Department, Texas A&M University
- Date: Mon, 16 Nov 1992 21:38:30 GMT
- Lines: 18
-
-
-
- We have some system processes running in background to ingest the realtime
- data from various ports. This processes are started at the boot time by
- rc.local.
-
- Now some time this processes dies due to some errors in the data feed
-
- So we need to periodically check that this processes are running and
- if not we need to restart the process. I think cron can do it but I don't
- know exactly how to check that process is running or not.
-
-
- Samir ( spatel@photon.cs.tamu.edu )
-
-
-
-
-