Jul 11th, 2007, 01:50 PM
Job scheduling within a JBoss cluster
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.
Jul 11th, 2007, 03:55 PM
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
Jul 12th, 2007, 11:59 PM
Thanks, I will dig into that.