Files
ppgo_job/conf/app.conf

46 lines
897 B
Plaintext
Raw Permalink Normal View History

AppName = PPGo_Job2
2026-03-30 14:28:35 +08:00
HTTPPort = 8082
RunMode = dev
SessionOn = true
2017-06-23 12:24:42 +08:00
2019-07-06 17:05:19 +08:00
version= V2.8
2018-07-13 17:53:34 +08:00
2017-06-23 12:24:42 +08:00
# 允许同时运行的任务数
jobs.pool = 1000
2017-06-23 12:24:42 +08:00
# 站点名称
site.name = 定时任务管理器
#通知方式 0=邮件1=信息2=钉钉3=微信
notify.type = 0
2017-06-23 12:24:42 +08:00
# 数据库配置
2026-03-30 14:28:35 +08:00
db.type = sqlite
2022-05-02 13:21:02 +08:00
db.host = localhost
2019-02-15 11:50:09 +08:00
db.user = root
2026-03-30 14:28:35 +08:00
db.password = "root"
2017-06-23 12:24:42 +08:00
db.port = 3306
2026-03-30 14:28:35 +08:00
db.name = lmk
db.path = ./data/ppgo_job.db
2017-06-23 12:24:42 +08:00
db.prefix = pp_
db.timezone = Asia/Shanghai
# 邮件通知配置
email.host = smtp.mxhichina.com
email.port = 25
2018-08-13 22:08:25 +08:00
email.from = ci@xxx.cn
email.user = ci@xxx.cn
email.password = "xxxxxx"
email.pool = 10
2018-08-13 22:08:25 +08:00
# 短信通知方式配置
msg.url = http://xx.com/api/tools/send_sms
2018-08-09 18:47:42 +08:00
msg.pool = 10
2019-02-15 11:50:09 +08:00
# 钉钉通知配置
dingtalk.url = "https://oapi.dingtalk.com/robot/send?access_token=%s"
dingtalk.pool = 10
# 微信通知方式配置
wechat.url = http://xx.com/api/tools/send_wechat
wechat.pool = 10