Skip to content

Instantly share code, notes, and snippets.

@ahm507
Created June 27, 2018 12:41
Show Gist options
  • Save ahm507/7dd901106f618666c6d99db61dda0a3a to your computer and use it in GitHub Desktop.
Save ahm507/7dd901106f618666c6d99db61dda0a3a to your computer and use it in GitHub Desktop.
For beginners, configuring spring boot, quartz and mysql may be tricky. Below is a sample working properties.
spring.quartz.properties.org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
spring.quartz.properties.org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
spring.quartz.properties.org.quartz.jobStore.dataSource = quartzDS
spring.quartz.properties.org.quartz.jobStore.tablePrefix = QRTZ_
spring.quartz.properties.org.quartz.jobStore.isClustered = false
spring.quartz.properties.org.quartz.dataSource.quartzDS.driver = com.mysql.jdbc.Driver
spring.quartz.properties.org.quartz.dataSource.quartzDS.URL = jdbc:mysql://localhost/quartz
spring.quartz.properties.org.quartz.dataSource.quartzDS.user = root
spring.quartz.properties.org.quartz.dataSource.quartzDS.password =
spring.quartz.properties.org.quartz.threadPool.threadCount=25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment