This commit is contained in:
yanweidong
2026-02-02 12:18:36 +08:00
parent 8ab0b64d89
commit 11c6b5f4f1

View File

@@ -15,7 +15,7 @@ func Boot() {
scheduler := cron.New()
// 每天运行3次来更新数据
scheduler.AddFunc("30 21 * * *", func() {
scheduler.AddFunc("30 20 * * *", func() {
updateTask()
})
scheduler.Start()