"Mikey" <[EMAIL PROTECTED]> writes:

> 
> How about grabbing the output from `ps -ax` and looping thourhgthe results
> to see if your script is being run?

Again the problem is of atomicity.  This is a multi step process 

- do a ps -aux
- do a grep on the output
- start script processing

What if second script between step 1 and 2 ?  That is why we need
something that is guaranteed to complete in 1 step. 

-- 
Raj Shekhar                          Y!   : Operations Engineer
MySQL DBA, programmer and  slacker   Y!IM : lunatech3007
home : http://rajshekhar.net         blog : http://rajshekhar.net/blog/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to