Skip to content

Instantly share code, notes, and snippets.

@hendrasyp
Last active July 15, 2020 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hendrasyp/22f42856fde8623ce2599e84252e3652 to your computer and use it in GitHub Desktop.
Save hendrasyp/22f42856fde8623ce2599e84252e3652 to your computer and use it in GitHub Desktop.
Java Quartz Propertiez
# ==================================================================================================================== #
# QUARTZ
# Configure JobStore
#============================================================================
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
org.quartz.jobStore.useProperties=true
org.quartz.jobStore.misfireThreshold=25000
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.jobStore.isClustered=false
org.quartz.jobStore.dataSource=qDS
# See spring.datasource.url configuration Example (https://howtodoinjava.com/spring-boot2/datasource-configuration/)
org.quartz.dataSource.qDS.URL=jdbc:oracle:thin:@//host/ORCL
org.quartz.dataSource.qDS.driver=oracle.jdbc.OracleDriver
org.quartz.dataSource.qDS.user=grifes
org.quartz.dataSource.qDS.password=grifespwd
org.quartz.dataSource.qDS.maxConnections=50
org.quartz.dataSource.qDS.maxPoolSize=10
org.quartz.dataSource.qDS.preferredTestQuery=SELECT 1
spring.quartz.jdbc.initialize-schema=always
spring.quartz.job-store-type=jdbc
#============================================================================
# Configure Quartz ThreadPool
#============================================================================
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
#org.quartz.threadPool.makeThreadsDaemons=true
org.quartz.context.key.QuartzTopic=QuartzProperties
org.quartz.threadPool.threadCount=1
org.quartz.threadPool.threadPriority=5
org.quartz.scheduler.instanceName=ChubbScheduler
org.quartz.scheduler.instanceId=AUTO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment