exclusive execution

From: Date: Fri, 27 Apr 2001 20:21:50 +0000
Subject: exclusive execution
Groups: php.general 
Request: Send a blank email to php-general+get-50689@lists.php.net to get a copy of this message
I need to set up a script such that only one instance of it is running at a time i.e. in case the script is already executing, it will not be started again. My problem is on a script taking a long time to execute (like it should) - I find that for some reason the script stops somewhere in the middle and starts to re-execute. I wish to catch this re-execute and halt the script instead N

« previous php.general (#50689) next »