You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
918 B

# 数据源配置
spring:
quartz:
#相关属性配置
properties:
org:
quartz:
scheduler:
instanceName: clusteredScheduler
instanceId: AUTO
jobStore:
class: org.quartz.impl.jdbcjobstore.JobStoreTX
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
tablePrefix: QRTZ_
isClustered: true
clusterCheckinInterval: 10000
useProperties: false
misfireThreshold: 12000
#线程池配置
threadPool:
#实现的类名
class: org.quartz.simpl.SimpleThreadPool
#线程数量
threadCount: 3
#线程优先级
threadPriority: 5
#自创建父线程
threadsInheritContextClassLoaderOfInitializingThread: true
#数据库方式
job-store-type: jdbc