Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

autostartup=false not being honoured #158

Open
ManinderHSC opened this issue Mar 10, 2018 · 2 comments
Open

autostartup=false not being honoured #158

ManinderHSC opened this issue Mar 10, 2018 · 2 comments

Comments

@ManinderHSC
Copy link

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>
@michaelklishin
Copy link
Owner

Feel free to look into a PR.

@arulrajnet
Copy link
Collaborator

The autoStartup is not the properties of quartz JobStore . We can add it as like spring does. They support for autoStarup and startupDelay.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants