Re: Waiting for task to succeed

2007-05-24 Thread Krish
ell script can return a non-zero exit > code on failure. > > On 5/24/07, Krish <[EMAIL PROTECTED]> wrote: > > Hi > > > > I have a requirement wherein I need to make sure > the > > process doesnt exist. So I need to do something > like > > this

Waiting for task to succeed

2007-05-24 Thread Krish
Hi I have a requirement wherein I need to make sure the process doesnt exist. So I need to do something like this - `netstat -tln | grep 8080 | cut -f1 -d'. If the return value of the above is tcp, then i know that a process is running . I need to run this command in a loop until the proces