>
> Could anyone post some code showing how to implement this?
yes, of course:
first, the usage example:
package ch.bmw.jobscheduler.test;
__
import java.util.Date;
import junit.framework.TestCase;
import org.apache.hivemi
I'm trying to figure out how to integrate quartz with my tapestry app based
on Marcus' explanation but I'm missing some key points.
Could anyone post some code showing how to implement this?
--
View this message in context:
http://www.nabble.com/Scheduling-tasks-tf1963494.htm
e os
level. (Be sure that you set job_queue_processes to 0, because if you
don't Oracle sometimes restarts the job).
Martijn
Original Message
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: Re: Scheduling tasks
Date: Thu, 20 Jul 2006 07:28:42 -0500
>I can't com
I can't comment on Quartz but I did use the Oracle scheduler until
someone scheduled a query that ran for hours and made the database
useless. It was difficult to recover from because you could not login
to stop the task.
If you schedule
* * * * * wget http://localhost/cronjob
then you don't ha
Oh cron is the path of ev-il. I used to use it as well but found the
dependency on physical machine setup to be very annoying and easy to forget.
Quartz has proven very reliable for me so far. (Probably even more so than
cron, since it has all manner of built-in error handling tactics )
On 7/19/0
Thanks Marcus, that was pretty straighforward. Instead of overriding
ApplicationServlet, I injected WebContext and got the Hivemind Registry
from there.
Since I'd like to start the scheduler on application startup, I also added
it to hivemind.EagerLoad. But, at that time the servlet hasn't
I looked at Quartz but decided to schedule a wget from a cron job instead. I
think it's better to schedule via an external event since it makes it easier
to turn them off when things go bad. Also cron is simple and reliable.
Using Quartz is not very difficult. I did it in the following steps
- write a HivemindServiceJobFactory which takes HiveMind-Services
implementing "Job" or "Runnable" and wrap them into an adapter taking care
of calling setupThread and cleanupThread on the registry. The service-id is
taken from
+1 on quartz
On 7/19/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I would use quartz. It took me about half an hour to integrate with
hivemind.
On 7/18/06, Martin Strand <[EMAIL PROTECTED]> wrote:
>
> Hi guys.
> How can I schedule a task with Hivemind? I want something similar to
crond
> in Li
I would use quartz. It took me about half an hour to integrate with
hivemind.
On 7/18/06, Martin Strand <[EMAIL PROTECTED]> wrote:
Hi guys.
How can I schedule a task with Hivemind? I want something similar to crond
in Linux - a service should be notified every n minutes. Ideally the
service wou
Hi guys.
How can I schedule a task with Hivemind? I want something similar to crond
in Linux - a service should be notified every n minutes. Ideally the
service would implement Runnable and the scheduler would invoke run().
I've heard of Quartz, but I've never used it before and I'm not sure h
11 matches
Mail list logo