Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit eb0b908 Feb 1, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Multiple jobs Feb 1, 2019
.gitignore adds example Jan 30, 2019 Create Feb 1, 2019

Spring Boot: How to run quartz in a cluster?

Add the following application properties:


Start the application and verify in the logs that the correct JobStore is used:

2019-02-01 13:39:17.600  INFO 11310 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler meta-data: Quartz Scheduler (v2.3.0) 'quartzScheduler' with instanceId 'Jeroens-MacBook-Pro.local1549024757590'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered.

If multiple applications are using the same database, - which is a bad practice - make sure to split up the quartz tables by using a prefix. Don't share the same quartz tables for multiple applications!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.