Re: RE : Scheduler with cocoon

2003-02-14 Thread SAXESS - Hussayn Dabbous

1.) There are some java -packages around, that mimic cron.
wasn't there a cron component in the avalon-excalibur framework  ???
You might write something like an action, which opens a runtime-thread,
which would organise the rest. shouldn't be a big deal if you really
need it. or you write a servlet, that does it and let it autostart
on container startup ...

2.) another thought: If you want the user to change something easily,
you will provide a config file. (probably).
You still could use cron (if you stay onlunux/unix) and generate the
cron scripts ;-) But cron scripts are very easy to understand and
is it really worthwhile to make something else ???

Except of course you are NOT running on unix and/or you MUST provide
platform independence, then i would reconsider 1.) above ..


regards, hussayn

Xavier RODRIGUEZ wrote:

But I would like something to be integrated into cocoon, in this way the
final user will easily change the hours for example... 
Someone tells me about wyona cms (http://www.wyona.org) that integrates
a scheduler ... I'm now probing this solution

Thanks 

|| -Original Message-
|| From: Niclas Hedhman [mailto:[EMAIL PROTECTED]] 
|| Sent: Friday, February 14, 2003 7:11 AM
|| To: [EMAIL PROTECTED]
|| Subject: Re: Scheduler with cocoon
|| 
|| 
|| On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
||  provided you're using Linix, you might want to create a 
|| cron job a'la wget
||  http://url that triggers your pipeline.
|| 
|| If you are not Linux expert, but using it more casually, the 
|| above can seem a 
|| bit cryptic.
|| 
|| cron is a time scheduler in Linux, which executes shell 
|| scripts according to 
|| settings in a table. Most Linux Distros has a default cron 
|| configuration that 
|| is pretty is to use. For RedHat, create a sheel script and 
|| place it in 
|| /etc/cron.daily, and it will execute once a day (think it is 
|| in the middle of 
|| night).
|| 
|| The script should look like this;
|| 
|| #!/bin/sh
|| #
|| 
|| wget http://www.mydomain.com/cocoon/theResource
|| 
|| and I think you need to set the x flag on the script file, such as;
|| 
|| chmod +x mydailyrequest.sh
|| 
|| 
|| That should be crystal clear.
|| 
||  This is just a fallback possibility if nobody comes up 
|| with a better
||  answer.
|| 
|| I think this is a perfect solution, as cron is extremely reliable.
|| 
||  Guenther (turning 35 in 2.5 hours)
|| 
|| Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?
|| 
|| -
|| 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]


--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
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: Scheduler with cocoon

2003-02-13 Thread Guenther Schmidt
Hi Xavier,

provided you're using Linix, you might want to create a cron job a'la wget 
http://url that triggers your pipeline.

This is just a fallback possibility if nobody comes up with a better answer.

Best regards

Guenther (turning 35 in 2.5 hours)

-
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: Scheduler with cocoon

2003-02-13 Thread Gabriele Domenichini
Xavier RODRIGUEZ wrote:


Does anybody know how to make a scheduler that will execute part of a
pipeline ...
In other word, I would like to execute a
generation/transformation/serialization process each day ...


I normally use an utility to do a similar job called geturl. It's free 
and works in windows


Does anybody know if a cocoon component exists to do this? 

There is a way to use cocoon from the command line. Try to search in the 
group


Thanks

Xavier 


-
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: Scheduler with cocoon

2003-02-13 Thread Niclas Hedhman
On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
 provided you're using Linix, you might want to create a cron job a'la wget
 http://url that triggers your pipeline.

If you are not Linux expert, but using it more casually, the above can seem a 
bit cryptic.

cron is a time scheduler in Linux, which executes shell scripts according to 
settings in a table. Most Linux Distros has a default cron configuration that 
is pretty is to use. For RedHat, create a sheel script and place it in 
/etc/cron.daily, and it will execute once a day (think it is in the middle of 
night).

The script should look like this;

#!/bin/sh
#

wget http://www.mydomain.com/cocoon/theResource

and I think you need to set the x flag on the script file, such as;

chmod +x mydailyrequest.sh


That should be crystal clear.

 This is just a fallback possibility if nobody comes up with a better
 answer.

I think this is a perfect solution, as cron is extremely reliable.

 Guenther (turning 35 in 2.5 hours)

Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?

-
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 : Scheduler with cocoon

2003-02-13 Thread Xavier RODRIGUEZ
But I would like something to be integrated into cocoon, in this way the
final user will easily change the hours for example... 
Someone tells me about wyona cms (http://www.wyona.org) that integrates
a scheduler ... I'm now probing this solution

Thanks 

|| -Original Message-
|| From: Niclas Hedhman [mailto:[EMAIL PROTECTED]] 
|| Sent: Friday, February 14, 2003 7:11 AM
|| To: [EMAIL PROTECTED]
|| Subject: Re: Scheduler with cocoon
|| 
|| 
|| On Friday 14 February 2003 05:17, Guenther Schmidt wrote:
||  provided you're using Linix, you might want to create a 
|| cron job a'la wget
||  http://url that triggers your pipeline.
|| 
|| If you are not Linux expert, but using it more casually, the 
|| above can seem a 
|| bit cryptic.
|| 
|| cron is a time scheduler in Linux, which executes shell 
|| scripts according to 
|| settings in a table. Most Linux Distros has a default cron 
|| configuration that 
|| is pretty is to use. For RedHat, create a sheel script and 
|| place it in 
|| /etc/cron.daily, and it will execute once a day (think it is 
|| in the middle of 
|| night).
|| 
|| The script should look like this;
|| 
|| #!/bin/sh
|| #
|| 
|| wget http://www.mydomain.com/cocoon/theResource
|| 
|| and I think you need to set the x flag on the script file, such as;
|| 
|| chmod +x mydailyrequest.sh
|| 
|| 
|| That should be crystal clear.
|| 
||  This is just a fallback possibility if nobody comes up 
|| with a better
||  answer.
|| 
|| I think this is a perfect solution, as cron is extremely reliable.
|| 
||  Guenther (turning 35 in 2.5 hours)
|| 
|| Niclas , turned 35 29680 hours ago ;o)   New yardstick for age?
|| 
|| -
|| 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]