greenba Posted March 22, 2009 Share Posted March 22, 2009 Hello, I would like to have my php script run in background as a process from shell. How I run it now is: php -q script.php & but once I close my putty, the script closes as well. Any ideas? Thanks, G. Quote Link to comment https://forums.phpfreaks.com/topic/150566-run-php-script-forever-from-command-line/ Share on other sites More sharing options...
wildteen88 Posted March 22, 2009 Share Posted March 22, 2009 Have a look into setting up cronjobs perhaps. Quote Link to comment https://forums.phpfreaks.com/topic/150566-run-php-script-forever-from-command-line/#findComment-790872 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.