Commit 74c74d4c authored by jingbo.wang's avatar jingbo.wang

调整定时报表时间

parent 94736eb3
package node_check package node_check
func NodeHealthCheckAndNotify() {
}
/* /*
import ( import (
"git.quantgroup.cn/DevOps/enoch/pkg/glog" "git.quantgroup.cn/DevOps/enoch/pkg/glog"
......
...@@ -31,7 +31,7 @@ func RegularReport(dir string) { ...@@ -31,7 +31,7 @@ func RegularReport(dir string) {
run(now, dir) run(now, dir)
next := now.Add(time.Hour * 24) next := now.Add(time.Hour * 24)
next = time.Date(next.Year(), next.Month(), next.Day(), 10, 0, 0, 0, next.Location()) next = time.Date(next.Year(), next.Month(), next.Day(), 1, 0, 0, 0, next.Location())
timer.Reset(next.Sub(now)) timer.Reset(next.Sub(now))
} }
}() }()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment