This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Jboss7 quartz cron job on failover cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss7 quartz cron job on failover cluster" Watch "Jboss7 quartz cron job on failover cluster" New topic
Author

Jboss7 quartz cron job on failover cluster

Antal Varga
Greenhorn

Joined: Apr 17, 2013
Posts: 1
I have a Jboss 7 domain with a master server and with 2 other nodes.

I need to run some scheduled jobs on the cluster (one node only) and on failover the Job must be continoued by another up server.
In this forum I saw in this post that it is possible, but I could not find a howto.

I have already created an application which can run Cron jobs, but when I deploy the application, it start to run it on all the nodes, and does not move to another server on failover.

Can anyone help in this?

the code what schedule the task:


I've started it with a listener:

 
wood burning stoves
 
subject: Jboss7 quartz cron job on failover cluster
 
Similar Threads
Thread Scheduler
Scheduler and joblistener
Struggling to run a script at regular intervals - any ideas?
Quartz Scheduler - Eclipse
Quartz scheduling