新增:pbs服务集成xxljob

This commit is contained in:
yangyang01000846
2026-01-18 22:59:46 +08:00
parent 4c12c8e5c3
commit edc8ed2980
8 changed files with 269 additions and 47 deletions

View File

@@ -157,4 +157,33 @@ security:
- /getMain
- /getProductLine
- /getProjectBatch
- /getProjectInfo
- /getProjectInfo
# xxljob 配置开始
xxl:
job:
admin:
# 调度中心地址列表
addresses: http://192.168.30.148:7110/xxl-job-admin
# 调度中心访问令牌
accessToken: default_token
# xxl-job 超时时间默认3秒
timeout: 3
executor:
# 执行器是否启用默认true
enabled: true
# 执行器应用名称
appname: pbs-job-executor
# 执行器注册地址默认使用address注册若为null则使用ip:port注册
address:
# 执行器IP
ip:
# 执行器端口,为了好记web服务端口+1000
port: 8105
# 执行器日志路径
logpath: /home/app/pbs/xxljob
# 执行器日志保留天数
logretentiondays: 14
# 执行器排除扫描的包,多个用逗号分隔,如 "org.package01" 或 "org.package01,org.package02"
excludedpackage:
# xxljob 配置结束