On Jun 27, 2008, at 3:18 PM, Daniel Brown wrote:
On Fri, Jun 27, 2008 at 3:12 PM, Eric Gorr <mailist@xxxxxxxxxxxx>
wrote:
Now, one possible solution to this problem is that the php script
adds it's
request to run the unix app to a queue and their is some other code
which
pulls a request off the queue, performs the operation and returns
the data
back to the php script which made the request.
Are there other solutions that I have not considered?
Can you just add the commands to a database, and have the commands
read from there and run via cron job every n minutes? That would
ensure that the *NIX file will only be run with a single instance, but
run over and over again.
Sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php