小小的修改一下cron表达式 (#77)

* fix:小修一下表达式

* fix:小修一下表达式
This commit is contained in:
himawari
2021-11-22 13:01:17 +08:00
committed by GitHub
parent d6f1113201
commit bcd111f585
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ func init() {
func vtbDaily() {
log.Println("创建vtb数据库定时任务")
c := cron.New()
_, err := c.AddFunc("37 11 * * *", func() { vtbData() })
_, err := c.AddFunc("0 4 * * *", func() { vtbData() })
if err != nil {
log.Println("定时任务有错误:", err)
} else {