49 lines
808 B
YAML
49 lines
808 B
YAML
server:
|
|
address: ":8086"
|
|
name: "ppgo_job"
|
|
logPath: "resource/log/server"
|
|
logStdout: true
|
|
errorStack: true
|
|
accessLogEnabled: true
|
|
|
|
database:
|
|
default:
|
|
type: sqlite
|
|
name: "./data/ppgo_job.db"
|
|
|
|
# 允许同时运行的任务数
|
|
jobs:
|
|
pool: 1000
|
|
|
|
# 站点名称
|
|
site:
|
|
name: "定时任务管理器"
|
|
|
|
# 通知方式 0=邮件,1=短信,2=钉钉,3=微信
|
|
notify:
|
|
type: 0
|
|
|
|
# 邮件通知配置
|
|
email:
|
|
host: smtp.mxhichina.com
|
|
port: 25
|
|
from: ci@xxx.cn
|
|
user: ci@xxx.cn
|
|
password: "xxxxxx"
|
|
pool: 10
|
|
|
|
# 短信通知方式配置
|
|
msg:
|
|
url: http://xx.com/api/tools/send_sms
|
|
pool: 10
|
|
|
|
# 钉钉通知配置
|
|
dingtalk:
|
|
url: "https://oapi.dingtalk.com/robot/send?access_token=%s"
|
|
pool: 10
|
|
|
|
# 微信通知方式配置
|
|
wechat:
|
|
url: http://xx.com/api/tools/send_wechat
|
|
pool: 10
|