Signed-off-by: dongl <2725096176@qq.com>
This commit is contained in:
dongl 2022-07-19 09:04:57 +08:00
parent 4d8d83f5f9
commit 5697433466
2 changed files with 2 additions and 1 deletions

View File

@ -5,3 +5,4 @@ import (
"github.com/eatmoreapple/openwechat"
)

View File

@ -7,7 +7,7 @@ import (
"time"
)
var crontab
func SignInBegin(msg *openwechat.Message) {
// 新建一个定时任务对象
// 根据cron表达式进行时间调度cron可以精确到秒大部分表达式格式也是从秒开始。