I've written a cgiapp that runs about 20 java processes in the
background and I'd like to update the web page that submitted the
request (via Ajax) to run them with status, indicating when each process
has completed.
Currently, my rm method just sits there running the subprocesses (using
On 10/07/2009 10:33 AM, eric.b...@barclayscapital.com wrote:
How can I update my web page with status from this run mode while the
subprocesses are running?
There's a couple of different ways this can be done. The best is
definitely not the easiest but it means creating a separate offline job
of at the end
when the rm returns?
Eric
-Original Message-
From: cgiapp-boun...@lists.erlbaum.net
[mailto:cgiapp-boun...@lists.erlbaum.net] On Behalf Of Michael Peters
Sent: Wednesday, October 07, 2009 11:28 AM
To: CGI Application
Subject: Re: [cgiapp] Streaming Status Updates
On 10/07/2009 11:35 AM, eric.b...@barclayscapital.com wrote:
The approach I'm working on now is to have a global status hash for each
file being processed, which I'll update as I run each subprocess and
when each completes. Then I've thrown in a quick run mode that simply
sends that hash
On 10/07/2009 12:24 PM, eric.b...@barclayscapital.com wrote:
I wouldn't do that either, but I've had no end of issues with running
subprocesses from Apache2.
Me: Doctor it hurts when I try to run subprocesses from Apache2.
Doctor: Don't do that :)
What I try to do is have an external process
-Original Message-
From: cgiapp-boun...@lists.erlbaum.net
[mailto:cgiapp-boun...@lists.erlbaum.net] On Behalf Of Michael Peters
Sent: Wednesday, October 07, 2009 11:44 AM
To: CGI Application
Subject: Re: [cgiapp] Streaming Status Updates for a
Long-running Run Mode
On 10/07
* eric.b...@barclayscapital.com [07/10/2009 21:05] :
What do you use for your external job queue?
Please please take a look at TheSchwartz.
http://search.cpan.org/~bradfitz/TheSchwartz-1.07/
Emmanuel
# CGI::Application community mailing list
##