RE: [PHP] How to create and run background process at Win2K
| From: | Jason G. | Date: | Mon, 19 Nov 2001 11:16:36 +0000 |
| Subject: | RE: [PHP] How to create and run background process at Win2K | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75102@lists.php.net to get a copy of this message | ||
I believe that there is something like crontab for windows... If not, then you could write one in C or C++ or VB etc...
From apache/mod_php, set a marker in a file, or in a db.
Every minute, or 5 minutes, or 15 minutes (you decide), your crontab equivalent will call a cgi/php script that checks for the marker in the file/db. If the marker is there, then remove the marker, and generate the report.
Hope it helps.
-Jason Garber
IonZoft.com
At 12:00 PM 11/19/2001 +0800, Chris Lee wrote:
Dear John, Actually I need to generate an report which need an half an hour to complete. The MS Proxy Server time out for the long process, so I want to create the report by following method: apache/mod_php -> call cgi/php -> email notify end user when completed. Regards, Chris Lee -----Original Message----- From: John Monfort [mailto:monfort@engineering.sdsu.edu] Sent: Monday, November 19, 2001 11:38 AM To: Chris Lee Cc: php-general@lists.php.net Subject: Re: [PHP] How to create and run background process at Win2K You can run the application as a SERVICE. Would that do the trick? __________John Monfort_________________ _+-----------------------------------+_P E P I E D E S I G N S www.pepiedesigns.com"The world is waiting, are you ready?" -+___________________________________+- On Mon, 19 Nov 2001, Chris Lee wrote:Hi, It is possible to create/run background process at Win2K / Apache environment? If yes, how? Regards, Chris Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail:php-list-admin@lists.php.net-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net