-
Jul 11th, 2007, 01:50 PM
#1
Job scheduling within a JBoss cluster
Hi,
Can someone point me in the right direction in order to find a solution for scheduling a job with Quartz within a Spring application in a JBoss cluster? So, the point is that the job has to run at one random node and not at every node.
Thanks,
Rik
-
Jul 11th, 2007, 03:55 PM
#2
Quartz has built-in support for running in a cluster, which provides exactly the behaviour you want:
you'll need to use a database to store your jobs and triggers and then set the following Quartz property to true: org.quartz.jobStore.isClustered
Check the Quartz docs for more info: http://www.opensymphony.com/quartz/w...lustering.html
Joris
-
Jul 12th, 2007, 11:59 PM
#3
Hi Joris,
Thanks, I will dig into that.
Rik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules