Ok...perhaps I should have been more specific....i am familiar with chron, grep and ps....how would I combine these to write a script to do this??

Dan Lansing

-----Original Message-----
From: tclug-list-admin at mn-linux.org [mailto:tclug-list-admin at mn-linux.org] On Behalf Of Johnny Fulcrum
Sent: Thursday, September 25, 2003 12:24 PM
To: tclug-list at mn-linux.org
Subject: Re: [TCLUG] running services---beware of n00b


yes!  write a script to check if the process is running and restart if 
need be.  Then run a that script though cron and at your desired frequncey.

you could use ps -ef and grep for the process pid if you know it  - or the 
process name... if there's only one running...

TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list