Re: Cocoon task scheduler
Ivelin Ivanov wrote: Did you look at Quartz? http://quartz.sourceforge.net/ Well, we have added Quartz to Wyona, and Wyona is based on Cocoon, so ... ;-) I also don't think it's a good idea to add another feature to Cocoon, but maybe this is something for cocoon-apps. We would certainly not mind donating it to Apache. Another option would be the Avalon scheduler if I remember correctly. Giacomo told me once that they used it for one of their projects. HTH Michael - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 7:02 AM Subject: Cocoon task scheduler Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon task scheduler
Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon task scheduler
On Monday 28 October 2002 14:02, [EMAIL PROTECTED] wrote: . . . So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? . . . Hi Sylvain, There were some discussions about scheduling a while ago here, see http://marc.theaimsgroup.com/?l=xml-cocoon-devw=2r=1s=schedulerq=b (threads are somewhat broken, you might need to do some hunting). I don't remember if anyone found or created a good solution, but you might want to track the ideas found in these discussions. There is a project named jcron (http://p.clark.home.mindspring.com/jcron/), and I think Avalon has some scheduling component too. Personally I would recommend against adding more internal non-core functionality to Cocoon (there's s much stuff in there already IMHO), but rather doing something external, which is also more reusable. -Bertrand - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon task scheduler
There has been a similar thread before. dig up that one first. Cocoon, being a servlet, only reacts to http requests. So the only way to activate things on a timely basis is to use another program that calls a URL, and thus a pipeline, that activates whatever you want to get done. A wget in a cron job can do the trick. Bert At 14:02 28/10/2002 +0100, you wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
Hello Bert, Sorry but what is a wget? Sylvain -Message d'origine- De: Bert Van Kets [mailto:bert;vankets.com] Date: lundi, 28. octobre 2002 14:21 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler There has been a similar thread before. dig up that one first. Cocoon, being a servlet, only reacts to http requests. So the only way to activate things on a timely basis is to use another program that calls a URL, and thus a pipeline, that activates whatever you want to get done. A wget in a cron job can do the trick. Bert At 14:02 28/10/2002 +0100, you wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
web get, it's a unix program. Also available (via cygwin) for windows. J. Hello Bert, Sorry but what is a wget? Sylvain === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon task scheduler
How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
But cryptic reply John, g wget is indeed a *nix prog that creates an http request and captures the result. Actually, all you need is a program doesn't matter which one that sends out an http request. Heck, you can even use a scheduled off line favorite in IE for this. You will need to set it up on a server that connected to the internet though, to make sure it runs at the requested times. Bert At 13:41 28/10/2002 +, you wrote: web get, it's a unix program. Also available (via cygwin) for windows. J. Hello Bert, Sorry but what is a wget? Sylvain === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
I completely agree with you and Bertrand: Cocoon have already so much stuffs and it wouldn't be a good solution to add this type of feature. So I need a scheduler app writing in Java because I want to keep independance with OS (my server runs on Windows but I could change this). This scheduler have to provide a way to call an URL. Any suggestions or experiences? Thank you Sylvain -Message d'origine- De: Robert Ellis Parrott [mailto:parrott;fas.harvard.edu] Date: lundi, 28. octobre 2002 14:34 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
Try Jcrontab http://jcrontab.sourceforge.net/index.shtml Artur... -Original Message- From: [EMAIL PROTECTED] [mailto:Sylvain.Thevoz;swisscom.com] Sent: October 28, 2002 8:47 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon task scheduler I completely agree with you and Bertrand: Cocoon have already so much stuffs and it wouldn't be a good solution to add this type of feature. So I need a scheduler app writing in Java because I want to keep independance with OS (my server runs on Windows but I could change this). This scheduler have to provide a way to call an URL. Any suggestions or experiences? Thank you Sylvain -Message d'origine- De: Robert Ellis Parrott [mailto:parrott;fas.harvard.edu] Date: lundi, 28. octobre 2002 14:34 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/in dex.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon task scheduler
Both python perl have ports to just about every OS, more than Java. And python in particular is mindlessly easy to write in, and has the extra bonus in that it has been ported to Java (Jython) Check out ActivePerl ActivePython at http://www.activestate.com (windows ports, unixx ports are easy to find). How you schedule the scripts to run will be OS dependent. But there's probably some crond functionality in Cygwin, in which case using cron as your scheduler is pretty much platform independent as well, both Unix Windows. Also, there's a crond for Windows written in python: http://pycron32.sourceforge.net/ don't know anything about it though, just googled it. rob On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: I completely agree with you and Bertrand: Cocoon have already so much stuffs and it wouldn't be a good solution to add this type of feature. So I need a scheduler app writing in Java because I want to keep independance with OS (my server runs on Windows but I could change this). This scheduler have to provide a way to call an URL. Any suggestions or experiences? Thank you Sylvain -Message d'origine- De: Robert Ellis Parrott [mailto:parrott;fas.harvard.edu] Date: lundi, 28. octobre 2002 14:34 À: [EMAIL PROTECTED] Objet: Re: Cocoon task scheduler How about cron and a python script, which executes a localhost HTTP query? Python has very good support for HTTP. I'm not convinced that Cocoon needs such a beast, when so much mature functionality is available at the OS level. On Mon, 28 Oct 2002 [EMAIL PROTECTED] wrote: Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]