Last active
November 15, 2019 00:09
-
-
Save robertoschwald/d532c81f15916f72ea51b9e78654101c to your computer and use it in GitHub Desktop.
Grails 3.x Quartz-Plugin 2.0.0 application.yml configuration for clustering support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quartz: | |
autoStartup: true | |
jdbcStore: true | |
sheduler: | |
instanceName: myapp_quartz | |
instanceId: AUTO | |
skipUpdateCheck: true | |
threadPool: | |
class: org.quartz.simpl.SimpleThreadPool | |
threadCount: 5 | |
threadPriority: 5 | |
jobStore: | |
misfireThreshold: 60000 | |
class: org.quartz.impl.jdbcjobstore.JobStoreTX | |
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate | |
useProperties: false | |
tablePrefix: QRTZ_ | |
isClustered: true | |
clusterCheckinInterval: 1000 | |
plugin: | |
shutdownhook: | |
class: org.quartz.plugins.management.ShutdownHookPlugin | |
cleanShutdown: true | |
triggerHistory: | |
class: org.quartz.plugins.history.LoggingTriggerHistoryPlugin | |
jobHistory: | |
class: org.quartz.plugins.history.LoggingJobHistoryPlugin | |
There is a 'c' missing above in 'sheduler' once I added that it worked as expected. Thanks
grails version: 3.3.9
quartz plugin: 2.0.13
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I follow this config and got the message >> Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.
grails version: 3.3.8
quartz plugins: 2.0.13
update:
Change to use config in application.groovy its work perfectly, thanks.