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. 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. 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
Archived
This topic is now archived and is closed to further replies.