From f2fd54a879444c623277742fe535e003c2926604 Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Sun, 31 Mar 2024 04:11:27 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task/task.go b/task/task.go index cca036f..dc8077b 100644 --- a/task/task.go +++ b/task/task.go @@ -14,11 +14,11 @@ func InitTask() { // 每天凌晨1点执行 //cjob, err := WxTask.Cron("0 1 * * *").Do(CheckUserSurgeryDate) // 检查用户是否已到手术日期 - cjob, err := WxTask.Every(1).Day().At("04:00").Do(CheckUserSurgeryDate) // 检查用户是否已到手术日期 + cjob, err := WxTask.Every(1).Day().At("05:00").Do(CheckUserSurgeryDate) // 检查用户是否已到手术日期 if err != nil { global.GVA_LOG.Error("检查用户是否已到手术日期定时任务创建失败", zap.Error(err)) } - sjob, err := WxTask.Every(1).Day().At("04:00").Do(SendMsg2User) + sjob, err := WxTask.Every(1).Day().At("05:00").Do(SendMsg2User) if err != nil { global.GVA_LOG.Error("发送消息定时任务创建失败", zap.Error(err)) }