I am running on a linux server. I have a bunch of php scripts that i would like to execute in the background. Like 5000-1000 .php files. How should I call them?! Any nice way , can i also lunch a cron job for them,etc?
A cron job is best but if you have php5 (as you should ) you can use forking. see: http://www.php.net/manual/en/function.pcntl-fork.php or for php4: http://www.phpclasses.org/browse/package/1136.html
Hmmm likes i can only test this on the server, not on my Windows XP also Call to undefined function pcntl_fork() in C:\www\realrank\spiders\php.php on line 4
You get that. I thought your crawler was ready to go, looks like you're still tackling the technical issues