RE: [PHP-DB] Executing several PHP scripts simultaneously??

From: Date: Mon, 02 Jul 2001 09:25:07 +0000
Subject: RE: [PHP-DB] Executing several PHP scripts simultaneously??
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10014@lists.php.net to get a copy of this message
Hi Lisa, ... on *nix you could use exec( "/path/to/php/php.exe your-first-php-script.php &" ) note the ampersand at the end of the command ... this will start the task in background, so you can do other things while the script is running in the background. Hope this helps, Mike Michael Rudel - Web-Development, Systemadministration - Besuchen Sie uns am 20. und 21. August 2001 auf der online-marketing-düsseldorf in Halle 1 Stand E 16 _______________________________________________________________ Suchtreffer AG Bleicherstraße 20 D-78467 Konstanz Germany fon: +49-(0)7531-89207-17 fax: +49-(0)7531-89207-13 e-mail: mailto:mru@suchtreffer.de internet: http://www.suchtreffer.de _______________________________________________________________ > -----Original Message----- > From: Lisa Elita [mailto:lisa77@mitra.net.id] > Sent: Thursday, June 28, 2001 3:21 PM > To: php-db@lists.php.net > Subject: [PHP-DB] Executing several PHP scripts simultaneously?? > > > How can we execute several PHP scripts simultaneously inside > a single PHP > script? > For example, let's say master.php has 10 tasks in different > PHP scripts: > 1.php, 2.php, ..., 10.php. Each task is independent (the > input of each task > is not determined by other tasks) so we can do the tasks in > any order. But > if 2.php is initiated after 1.php is done, and 3.php is > initiated after > 2.php is done, and so on, the master.php can be expired, causing the > remaining tasks not executed. So how can we execute these PHP scripts > simultaneously? > > Regards, > Lisa Elita > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.db (#10014) next »