quartz-mongodb
quartz-mongodb copied to clipboard
autostartup=false not being honoured
trafficstars
Below config is working with jdbcjobstore but not mongojobstore. even with autostartup=false job is getting started
<property name="configLocation"
value="file:${JBOSS_HOME}/standalone/configuration/quartz.properties" />
<property name="schedulerName" value="quartzSchedulerGNFilesWatcher" />
<property name="overwriteExistingJobs" value="true" />
<property name="autoStartup" value="false" />
<property name="applicationContextSchedulerContextKey" value="applicationContext" />
<property name="jobFactory" ref="quartzJobFactory" />
<!-- NOTE: Must add both the jobDetail and trigger to the scheduler! -->
<property name="jobDetails">
<list>
<ref bean="gnConfigFileWatcherJob" />
</list>
</property>
<property name="triggers">
<list>
<ref bean="gnConfigFileWatcherTrigger" />
</list>
</property>
</bean>
Feel free to look into a PR.