update
This commit is contained in:
@@ -64,33 +64,33 @@ spring:
|
||||
enable: true
|
||||
required: true
|
||||
## quartz定时任务,采用数据库方式
|
||||
quartz:
|
||||
job-store-type: jdbc
|
||||
initialize-schema: embedded
|
||||
#定时任务启动开关,true-开 false-关
|
||||
auto-startup: true
|
||||
#延迟1秒启动定时任务
|
||||
startup-delay: 1s
|
||||
#启动时更新己存在的Job
|
||||
overwrite-existing-jobs: true
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
instanceName: MyScheduler
|
||||
instanceId: AUTO
|
||||
jobStore:
|
||||
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
tablePrefix: QRTZ_
|
||||
isClustered: true
|
||||
misfireThreshold: 12000
|
||||
clusterCheckinInterval: 15000
|
||||
threadPool:
|
||||
class: org.quartz.simpl.SimpleThreadPool
|
||||
threadCount: 10
|
||||
threadPriority: 5
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
# quartz:
|
||||
# job-store-type: jdbc
|
||||
# initialize-schema: embedded
|
||||
# #定时任务启动开关,true-开 false-关
|
||||
# auto-startup: true
|
||||
# #延迟1秒启动定时任务
|
||||
# startup-delay: 1s
|
||||
# #启动时更新己存在的Job
|
||||
# overwrite-existing-jobs: true
|
||||
# properties:
|
||||
# org:
|
||||
# quartz:
|
||||
# scheduler:
|
||||
# instanceName: MyScheduler
|
||||
# instanceId: AUTO
|
||||
# jobStore:
|
||||
# class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
# driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
# tablePrefix: QRTZ_
|
||||
# isClustered: true
|
||||
# misfireThreshold: 12000
|
||||
# clusterCheckinInterval: 15000
|
||||
# threadPool:
|
||||
# class: org.quartz.simpl.SimpleThreadPool
|
||||
# threadCount: 10
|
||||
# threadPriority: 5
|
||||
# threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
#json 时间戳统一转换
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
@@ -166,8 +166,8 @@ spring:
|
||||
slow-sql-millis: 5000
|
||||
datasource:
|
||||
master:
|
||||
# url: jdbc:mysql://127.0.0.1:3306/physical-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://192.168.50.100:23306/physical-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://127.0.0.1:3306/physical-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
# url: jdbc:mysql://192.168.50.100:23306/physical-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: 123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
@@ -64,33 +64,33 @@ spring:
|
||||
enable: true
|
||||
required: true
|
||||
## quartz定时任务,采用数据库方式
|
||||
quartz:
|
||||
job-store-type: jdbc
|
||||
initialize-schema: embedded
|
||||
#定时任务开关,true-开 false-关
|
||||
auto-startup: false
|
||||
#延迟1秒启动定时任务
|
||||
startup-delay: 1s
|
||||
#启动时更新己存在的Job
|
||||
overwrite-existing-jobs: true
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
instanceName: MyScheduler
|
||||
instanceId: AUTO
|
||||
jobStore:
|
||||
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
tablePrefix: QRTZ_
|
||||
isClustered: true
|
||||
misfireThreshold: 12000
|
||||
clusterCheckinInterval: 15000
|
||||
threadPool:
|
||||
class: org.quartz.simpl.SimpleThreadPool
|
||||
threadCount: 10
|
||||
threadPriority: 5
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
# quartz:
|
||||
# job-store-type: jdbc
|
||||
# initialize-schema: embedded
|
||||
# #定时任务开关,true-开 false-关
|
||||
# auto-startup: false
|
||||
# #延迟1秒启动定时任务
|
||||
# startup-delay: 1s
|
||||
# #启动时更新己存在的Job
|
||||
# overwrite-existing-jobs: true
|
||||
# properties:
|
||||
# org:
|
||||
# quartz:
|
||||
# scheduler:
|
||||
# instanceName: MyScheduler
|
||||
# instanceId: AUTO
|
||||
# jobStore:
|
||||
# class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
# driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
# tablePrefix: QRTZ_
|
||||
# isClustered: true
|
||||
# misfireThreshold: 12000
|
||||
# clusterCheckinInterval: 15000
|
||||
# threadPool:
|
||||
# class: org.quartz.simpl.SimpleThreadPool
|
||||
# threadCount: 10
|
||||
# threadPriority: 5
|
||||
# threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
#json 时间戳统一转换
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
@@ -64,33 +64,33 @@ spring:
|
||||
enable: true
|
||||
required: true
|
||||
## quartz定时任务,采用数据库方式
|
||||
quartz:
|
||||
job-store-type: jdbc
|
||||
initialize-schema: embedded
|
||||
#定时任务开关,true-开 false-关
|
||||
auto-startup: true
|
||||
#延迟1秒启动定时任务
|
||||
startup-delay: 1s
|
||||
#启动时更新己存在的Job
|
||||
overwrite-existing-jobs: true
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
instanceName: MyScheduler
|
||||
instanceId: AUTO
|
||||
jobStore:
|
||||
class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
tablePrefix: QRTZ_
|
||||
isClustered: true
|
||||
misfireThreshold: 12000
|
||||
clusterCheckinInterval: 15000
|
||||
threadPool:
|
||||
class: org.quartz.simpl.SimpleThreadPool
|
||||
threadCount: 10
|
||||
threadPriority: 5
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
# quartz:
|
||||
# job-store-type: jdbc
|
||||
# initialize-schema: embedded
|
||||
# #定时任务开关,true-开 false-关
|
||||
# auto-startup: true
|
||||
# #延迟1秒启动定时任务
|
||||
# startup-delay: 1s
|
||||
# #启动时更新己存在的Job
|
||||
# overwrite-existing-jobs: true
|
||||
# properties:
|
||||
# org:
|
||||
# quartz:
|
||||
# scheduler:
|
||||
# instanceName: MyScheduler
|
||||
# instanceId: AUTO
|
||||
# jobStore:
|
||||
# class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
||||
# driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
# tablePrefix: QRTZ_
|
||||
# isClustered: true
|
||||
# misfireThreshold: 12000
|
||||
# clusterCheckinInterval: 15000
|
||||
# threadPool:
|
||||
# class: org.quartz.simpl.SimpleThreadPool
|
||||
# threadCount: 10
|
||||
# threadPriority: 5
|
||||
# threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
#json 时间戳统一转换
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
Reference in New Issue
Block a user