From: Upayavira [mailto:[EMAIL PROTECTED] > Dean Cording wrote: > > > Thanks David, > > > > If you'd like to send me a copy of what you have so far > I'll have a go > > at integrating it with the Quartz scheduler. > > That would be great. From what I understand, you'd need to > get access to > the Cocoon object, and prepare an environment, with its request and > response objects, and pass that environment to the Cocoon object for > processing. Is that correct David?
I move this thread to [EMAIL PROTECTED] because we're talking about implementation details. I think so too. Currently I'm thinking of a new "BackgroundThreadEnvironment" that will be responsible for the environment but more opinions on this are welcome. (I started with this about two weeks ago and had some problems with the Context object but I hope I have some more time tomorrow to find out my concrete problem) Unfortunatly I can't check in ATM because I'm working in a customer's office and the firewall doesn't allow SSH access but I'll talk to the firewall administrator in the afternoon ;-) Cheers and thanks for your engagement! Reinhard P.S. I'm going to add a pointer to the Bugzilla issue! (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25384) > -----Original Message----- > From: Upayavira [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 11:18 AM > To: [EMAIL PROTECTED] > Subject: Re: Using Cron to call pipelines in background > > > Dean Cording wrote: > > > Thanks David, > > > > If you'd like to send me a copy of what you have so far > I'll have a go > > at integrating it with the Quartz scheduler. > > That would be great. From what I understand, you'd need to > get access to > the Cocoon object, and prepare an environment, with its request and > response objects, and pass that environment to the Cocoon object for > processing. Is that correct David? > > Upayavira > > > > > Cheers, > > > > Dean > > > > -----Original Message----- > > *From:* David Kavanagh [mailto:[EMAIL PROTECTED] > > *Sent:* Wednesday, 10 December 2003 2:57 PM > > *To:* [EMAIL PROTECTED] > > *Subject:* Re: Using Cron to call pipelines in background > > > > BTW, I have a version working under 2.1 now, but stopped working > > on it when the Quartz scheduler was integrated. I figured if our > > app needed to migrate to 2.1, I'd just add features to the > > integrated scheduler to match what my task manager does. > > > > David > > > > PS. I'd be happy to share. > > > > Dean Cording wrote: > > > >> Has anyone used the Cron block to invoke a pipeline in the > >> background? > >> > >> I have a requirement to generate and send out via email regular > >> reports generated by Cocoon. Generating the reports > and emailing > >> them using the Sendmail transformer is the easy bit. What I'm > >> not sure about is how to use Cron to trigger the processing of > >> the pipeline. > >> > >> I've had a look at David Kavanagh's work but the last > development > >> was that it did not work under 2.1. > >> > >> Note that this needs to be a self contained > application so using > >> an external trigger is not an option. > >> > >> Any hints, guidance, code snippets or complete > solutions would be > >> much appreciated. > >> > >> > >> Cheers, > >> > >> Dean > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]