20 Mar
2001
20 Mar
'01
08:07
On Mon, 19 Mar 2001 12:07:17 -0800, Christopher D. Reimer said: | At 09:38 AM 3/19/2001, Richard Witt wrote: | | > Try: | > | > ps x | grep "/bin/bash /root/scripts/setiathome" | grep -v "grep" | > | >as your conditional test. The last part tells grep to ignore any line | >containing "grep". | | Thanks! I thought I was missing something obvious. :) | | Christopher Reimer | | Why don't you use a flag file in /var/run? Seems far the best way to handle these kind of things. -- ---------------------------------------------------- Koos Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available