boweniac 2 tuần trước cách đây
mục cha
commit
ed1a992928
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crontask/init.go

+ 1 - 1
crontask/init.go

@@ -30,7 +30,7 @@ func ScheduleRun(c *cron.Cron, serverCtx *svc.ServiceContext) {
 	})
 
 	sendWx := NewCronTask(context.Background(), serverCtx)
-	c.AddFunc("*/30 * * * *", func() {
+	c.AddFunc("* * * * *", func() {
 		sendWx.sendWx()
 	})