🚧 定时任务.
This commit is contained in:
@@ -64,6 +64,34 @@ spring:
|
||||
output:
|
||||
ansi:
|
||||
enabled: DETECT
|
||||
quartz:
|
||||
job-store-type: JDBC
|
||||
overwrite-existing-jobs: false
|
||||
jdbc:
|
||||
initialize-schema: ALWAYS
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
scheduler:
|
||||
# 实例 ID
|
||||
instanceId: AUTO
|
||||
instanceName: quartzScheduler
|
||||
jobStore:
|
||||
# 持久化配置
|
||||
class: org.quartz.impl.jdbcjobstore.JobStoreTX
|
||||
driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
||||
useProperties: false
|
||||
tablePrefix: QRTZ_
|
||||
misfireThreshold: 60000
|
||||
clusterCheckinInterval: 5000
|
||||
# 打开群集功能
|
||||
isClustered: false
|
||||
#连接池
|
||||
threadPool:
|
||||
class: org.quartz.simpl.SimpleThreadPool
|
||||
threadCount: 10
|
||||
threadPriority: 5
|
||||
threadsInheritContextClassLoaderOfInitializingThread: true
|
||||
boot:
|
||||
admin:
|
||||
context-path: /admin
|
||||
@@ -112,7 +140,7 @@ logging:
|
||||
logback:
|
||||
rollingpolicy:
|
||||
clean-history-on-start: false
|
||||
file-name-pattern: ${logging.file.path}/rolling/orion-ops-rolling-%d{yyyy-MM-dd}.%i.gz
|
||||
file-name-pattern: ${logging.file.path}/rolling/rolling-%d{yyyy-MM-dd}.%i.gz
|
||||
max-history: 30
|
||||
max-file-size: 16MB
|
||||
total-size-cap: 0B
|
||||
@@ -156,6 +184,7 @@ orion:
|
||||
session-idle-timeout: 1800000
|
||||
swagger:
|
||||
# swagger 配置
|
||||
author: lijiahang
|
||||
title: orion-ops-pro 运维平台
|
||||
description: 一站式运维服务平台
|
||||
version: ${orion.version}
|
||||
|
||||
Reference in New Issue
Block a user