cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re: Starting background thread?
Date Wed, 13 Apr 2005 15:31:38 GMT
Hi.

Le mercredi 13 avril 2005 à 16:43 +0200, Kai Hessing a écrit :
> Hi folks,
> 
> I wonder if it is possible to start something like a cocoon background
> thread. Our problem is, that large SQL-Queries take some time and after
> a few minutes the browser returns a timeout. So the idea is to start a
> background thread which generates the output files (may take some hours)
> independent from any browser timeout. The files can then be downloaded
> via ssh or another script.

Maybe you can user the Quartz scheduler to fire a job (i.e. call a match
in a pipeline) which make the query and write the file on disk?

You can easily to this with the cron samples.

> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message