add 新增 集成 Xxl-Job 定时任务管理

This commit is contained in:
疯狂的狮子li
2022-01-10 11:46:56 +08:00
parent 6bf7371d89
commit e3cd9e30c3
188 changed files with 39306 additions and 9 deletions

View File

@@ -27,3 +27,26 @@ spring:
url:
username:
password:
xxl:
job:
# 执行器开关
enabled: true
# 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。
admin-addresses: http://localhost:9900
# 执行器通讯TOKEN非空时启用
access-token: xxl-job
# 执行器配置
executor:
# 执行器AppName执行器心跳注册分组依据为空则关闭自动注册
appname: ${spring.application.name}-executor
# 执行器端口号 执行器从19201开始往后写
port: 9901
# 执行器注册默认IP:PORT
address:
# 执行器IP默认自动获取IP
ip:
# 执行器运行日志文件存储磁盘路径
logpath: ./logs/xxl-job
# 执行器日志文件保存天数大于3生效
logretentiondays: 30