Re: [PHP] How to create and run background process at Win2K
there is 'at' program in windows2k (try it at the console) - Original Message - From: "Jason G." <[EMAIL PROTECTED]> To: "Chris Lee" <[EMAIL PROTECTED]>; "'John Monfort'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 1:16 PM Subject: RE: [PHP] How to create and run background process at Win2K > 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:[EMAIL PROTECTED]] > > > Sent: Monday, November 19, 2001 11:38 AM > > > To: Chris Lee > > > Cc: [EMAIL PROTECTED] > > > 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: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > To contact the list administrators, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] How to create and run background process at Win2K
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:[EMAIL PROTECTED]] > > Sent: Monday, November 19, 2001 11:38 AM > > To: Chris Lee > > Cc: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > To contact the list administrators, e-mail: > > [EMAIL PROTECTED] > > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] How to create and run background process at Win2K
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:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 11:38 AM > To: Chris Lee > Cc: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]