Hi,
I've wrote a php irc bot, but i need it to work in the background. With this there'd be no quits or so. What is the best way to do this?
Thanks and Regards.
Hi,
I've wrote a php irc bot, but i need it to work in the background. With this there'd be no quits or so. What is the best way to do this?
Thanks and Regards.
Take a look at the following website. There is a pretty descend explanation on how to write PHP daemons.
http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/
I use something similar:
nohup php /path/to/script.php > /dev/null 2> /dev/null&