On Thu, 25 Sep 2003, Lansing, Dan wrote:

> 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??
>

#!/bin/sh

if ! ps -ef | grep <process name> | grep -v grep > /dev/null; then
<restart process>
fi


_______________________________________________
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