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]>

Reply via email to