Re: [Q] Exec'ing a command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux