测试定时器

This commit is contained in:
ZJY 2021-09-07 01:13:42 +08:00
parent 10fd360c96
commit 63ad073eb8

View File

@ -10,7 +10,6 @@ func intiSky(f func()) {
for {
f()
now := time.Now()
logs.Info("测试启用")
// 计算下一个零点
next := now.Add(time.Hour * 12)
next = time.Date(next.Year(), next.Month(), next.Day(), 0, 0, 0, 0, next.Location())