Re: Hot to spawn parallel process from script?

From: Date: Sun, 22 Oct 2000 13:40:32 +0000
Subject: Re: Hot to spawn parallel process from script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21676@lists.php.net to get a copy of this message
I thing, this can answer your question, Either compile a CGI/Standalone version of PHP (leave out things like with-apache or with-apxs when you ./configure) and add #!/usr/local/bin/php -q as the first line of the scripts. This runs php like perl or shell scripts are ofteh run. You may have to change the path to php depending on where you put the php executable. The other choice is to use lynx to cause scripts to be executed. Just point lynx at the script thru your existing web server. I much prefer the other method. While the lynx method looks easier at first there are more places for it to break, and more work for the system to run this way. Either way you can execute the scripts at a specific time with cron. If you are not running Linux/UNIX, I think you can still do it, but you will have to find someone else to help you. I don't do Windows... Andrés de la Varga

« previous php.general (#21676) next »