I run a fantasy MUD and I have a PHP based daemon which checks for in game player mail and if found and the player has registered an email address, then it sends the MUD mail out to the player's email address. The program wakes up once a minute to check the database and then goes back to sleep. It's been running for months without a problem.
Cheers, Rob. Ilja Polvanovas wrote: > > Does anybody have minds about problems running long running PHP scripts as > standalone programs (ex. like servers, daemons). For example there is a > "simple TCP/IP server" in Sockets chapter of the Manual. Have anybody any > ideas how long can the script run ? is there any garbage collector in PHP, > if it is, is it enough solution? Can the script run for unlimited time ? is > there any restrictions ? Is it stable enough ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- .---------------------------------------------. | Worlds of Carnage - http://www.wocmud.org | :---------------------------------------------: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul. | `---------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php