boweniac hai 2 semanas
pai
achega
ed1a992928
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
 	})