
Originally Posted by
karldmoore
Have you looked at the clustering capabilities of Quartz?
Yes, the scheduler bean in the spring config I supplied above uses a configuration file which sets the scheduler as a clustered instance.

Originally Posted by
karldmoore
What makes you think you can't have both types of job in the same scheduler?
Well, I have tried adding triggers to the scheduler bean and they are being persisted in the database when I would like for them not to be. For example, I have the following trigger and job detail:
Code:
<bean name="monitor" class="org.springframework.scheduling.quartz.JobDetailBean">
<property name="jobClass" value="someJobClass"/>
</bean>
<bean id="monitorTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean">
<property name="jobDetail" ref="monitor"/>
<property name="startDelay" value="10000" />
<property name="repeatInterval" value="1000" />
</bean>
Then inside the scheduler bean I add a property like the following:
Code:
<property name="triggers">
<list>
<ref bean="monitorTrigger" />
</list>
</property>
Since the scheduler bean is configured as a clustered scheduler, it is persisting the "monitor" job when I would like for it not to be.
Does that make more sense?