Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Spring Boot configuration #53

Open
diman82 opened this issue Jul 21, 2020 · 1 comment
Open

Add support for Spring Boot configuration #53

diman82 opened this issue Jul 21, 2020 · 1 comment

Comments

@diman82
Copy link

diman82 commented Jul 21, 2020

Please add support for Spring Boot type configuration (so that usage of quartz.properties fiel can be dropped).

@huangbotao
Copy link

huangbotao commented Nov 13, 2020

Please add support for Spring Boot type configuration (so that usage of quartz.properties fiel can be dropped).

1.1.14 was support SpringBoot configuration, you can add quartz.properties config conten to application.properties like this:

spring.quartz.properties.org.quartz.jobStore.class=net.joelinn.quartz.jobstore.RedisJobStore
spring.quartz.properties.org.quartz.jobStore.host=10.x.x.x
spring.quartz.properties.org.quartz.jobStore.clusterCheckinInterval=10000

spring.quartz.properties.org.quartz.scheduler.instanceName=QuartzScheduler
spring.quartz.properties.org.quartz.scheduler.instanceId=AUTO

spring.quartz.properties.org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
spring.quartz.properties.org.quartz.threadPool.threadCount=5
spring.quartz.properties.org.quartz.threadPool.threadPriority=5
spring.quartz.properties.org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true

things like that: add prefix spring.quartz.properties to quartz.properties items

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

No branches or pull requests

2 participants