123456789101112131415161718192021222324252627282930313233343536 |
- [mongo] ## bidding 链接
- # host = "127.0.0.1:27017"
- host = "172.17.145.163:27083"
- db = "mixdata"
- username = "SJZY_RWbid_ES"
- password = "SJZY@B4i4D5e6S"
- [env]
- localport = ":2444" ## 本地监听端口,需要前面冒号
- qyxycoll = "qyxy_wuhu" ## 芜湖企业数据表
- biddingcoll = "bidding_wuhu" ## 芜湖标讯数据表
- [cron] ## 定时任务
- # spec = "0 */1 * * * *" ## 5分钟执行一次
- spec = "0 00 01 * * *" ## 每天01点执行,同步昨天标讯数据
- specq = "0 00 00 * * 6" ## 企业数据同步任务,每周六0点执行
- start = -1 ## 表示开始时间昨天凌晨
- end = 0 ## 表示截止时间到今天凌晨
- [log]
- # 日志路径,为空将输出控制台
- # logpath = ""
- logpath = "logs/log.out"
- # log size (M)
- maxsize = 10
- # compress log
- compress = true
- # log save time (day)
- maxage = 7
- # save total log file total
- maxbackups = 10
- # log level
- loglevel = "debug"
- # text or json output
- format = "json"
|