修改:定时任务xxljob拆分独立服务

This commit is contained in:
2026-04-13 13:53:01 +08:00
parent d33d2a85a1
commit 7c0b8cfa8d

View File

@@ -136,43 +136,12 @@ security:
- /data/approveParamLibrary
- /ws/data/modelTraining
- /data/batchUpdatePermission
- /xxlJob/*
data:
storage-monitor:
cron: 0 0 0/1 * * ?
# xxljob 配置开始
# xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
xxl:
job:
admin:
# 调度中心地址列表
addresses: http://192.168.65.161:7110/xxl-job-admin
# 调度中心访问令牌
accessToken: default_token
# xxl-job 超时时间默认3秒
timeout: 3
executor:
# 执行器是否启用默认true
enabled: true
# 执行器应用名称 服务名-job-executor
appname: data-job-executor
# 执行器注册地址默认使用address注册若为null则使用ip:port注册
address:
# 执行器IP
ip: ${XXL_JOB_EXECUTOR_IP:}
# 执行器端口,为了好记web服务端口+1000
port: 8104
# 执行器日志路径
logpath: /home/app/data/xxljob
# 执行器日志保留天数
logretentiondays: 14
# 执行器排除扫描的包,多个用逗号分隔,如 "org.package01" 或 "org.package01,org.package02"
excludedpackage:
# xxljob 配置结束
tempNgUrl: http://192.168.65.161:10031/storage/
# minio 合并超时时间 s