On Apr 1, 2008, at 6:47 AM, [EMAIL PROTECTED] wrote:
You can use Cocoon Cron Block:
see this for an example and doc:
http://cocoon.zones.apache.org/demos/release/samples/blocks/cron/samples
There is a better, lightweight thread scheduler built in into Cocoon.
API is:
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/thread/RunnableManager.html
You just need to lookup RunnableManager and use any of schedule()
methods to schedule a one-time, or periodic job.
Vadim
Bye
----- Original Message Follows -----
From: nanomonk <[EMAIL PROTECTED]>
To: [email protected]
Subject: [2.1] schedule some actions
Date: Tue, 1 Apr 2008 03:31:18 -0700 (PDT)
hmm.. Can I to schedule some actions?
I need something like a thread that always works and do
something at custom time. I just can't understand how to
start\stop it with cocoon. I don't know, maybe I should to
use servlet, but how to start own servlets in cocoon?:)
maybe there is exist true-way?;)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]