[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Defining Jobs in one web application - running them in another  XML
Forum Index -> Quartz
Author Message
friedi

neo

Joined: 08/14/2013 02:01:39
Messages: 1
Offline

Hi,

I have two web applications running on a Tomcat 7. The first is build to create jobs and schedule them on a JDBCJobStore. The other application should use the same JDBCJobstore and run the jobs. How can I implement this?

When I want to store Jobs in the JobStore I need a scheduler. But it only persists in the database when I start the scheduler. But the only running scheduler should be the other web applications. Does anybody have an idea?

Thanks in advance!
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1703
Offline

Don't call scheduler.start() on the instance that you do not want to execute jobs on.
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team