Running a PHP script with nice
Posted: Wed Nov 15, 2006 11:43 am
Hello,
I'm trying to run a php script in the background on my webserver using nice. The reason behind this is that the script takes 30+ minutes to run (it deals heavily with photos) and I don't want it to slow the webserver down while its running. Does anyone know how to do this? I currently run the script through cronjob using "nice wget http://www.myphpscript.com".
Any suggestions?
Thanks,
Kevin
I'm trying to run a php script in the background on my webserver using nice. The reason behind this is that the script takes 30+ minutes to run (it deals heavily with photos) and I don't want it to slow the webserver down while its running. Does anyone know how to do this? I currently run the script through cronjob using "nice wget http://www.myphpscript.com".
Any suggestions?
Thanks,
Kevin