From 4cc0dcb4b05b7c279b9350052a65800de632890f Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Tue, 7 Sep 2021 09:12:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=AF=E7=94=A8=E5=AE=9A=E6=97=B6=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20=E6=B5=8B=E8=AF=9510=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/wskey.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/wskey.go b/models/wskey.go index 639152a..965a6a7 100644 --- a/models/wskey.go +++ b/models/wskey.go @@ -9,10 +9,10 @@ func intiSky() { c := cron.New(cron.WithSeconds()) //精确到秒 //定时任务 - spec := "0 0 8/12 * * ?" //cron表达式,每秒一次 + spec := "0 0 10/12 * * ?" //cron表达式,每秒一次 c.AddFunc(spec, func() { fmt.Println("开始wskey转换") - + updateCookie() }) c.Start()