Have a PHP script run forever, access a queue

encathebeni

New Member
See also http://stackoverflow.com/questions/...ver-doing-computing-jobs-from-a-queue-system/, but that doesn't answer all my questions.If I want to run a PHP script forever, accessing a queue and doing jobs:[*]What is the potential for memory problems? How to avoid them? (any flush functions or something I should use?)[*]What if the script dies for some reason? What would be a good method to automatically start it up again?[*]What would be the best basic approach to start the script. Since it runs forever, I don't need cron. But how do I start it up? (See also 2.)
 
Back
Top