From 8ae5919c6ca6df98a6cad4b6df89da320401a31c Mon Sep 17 00:00:00 2001 From: Echo <1711788888@qq.com> Date: Sat, 30 Mar 2024 23:53:00 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E6=B8=85=E9=99=A4=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task/task.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/task/task.go b/task/task.go index 2f6fb4e..2645bc7 100644 --- a/task/task.go +++ b/task/task.go @@ -22,8 +22,6 @@ func InitTask() { global.GVA_LOG.Error("发送消息定时任务创建失败", zap.Error(err)) } - _, err = WxTask.Every("1m").Do(SendMsg2User) - // 开启定时任务 WxTask.StartAsync() global.GVA_LOG.Info("定时任务已开启", zap.Any("定时任务状态:", WxTask.IsRunning()))