boweniac 2 settimane fa
parent
commit
ed1a992928
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()
 	})