Browse Source

wip:提交

wangkaiyue 1 year ago
parent
commit
2eabafcc9c
3 changed files with 2 additions and 10 deletions
  1. 1 1
      doFreeClueSign/config.yaml
  2. 0 8
      doFreeClueSign/main.go
  3. 1 1
      doFreeClueSign/runSign.json

+ 1 - 1
doFreeClueSign/config.yaml

@@ -34,5 +34,5 @@ database:
     debug: true
 
 cron:
-#  activityUser: "# */30 * * * *" #更新新活跃用户
+  activityUser: " */10 * * * * *" #更新新活跃用户
   bindPhoneAndSubAgain: "*/10 * * * * *" #再次关注&绑定手机号用户

+ 0 - 8
doFreeClueSign/main.go

@@ -6,14 +6,6 @@ import (
 )
 
 func main() {
-	//_, err := gcron.Add(context.TODO(), "*/2 * * * * *", func(ctx context.Context) {
-	//	fmt.Println("xxx")
-	//}, "111")
-	//if err != nil {
-	//	panic(err)
-	//}
-	//gcron.Start("111")
-
 	job.InitJobManager()
 	select {}
 }

+ 1 - 1
doFreeClueSign/runSign.json

@@ -1 +1 @@
-{"bindPhone":"2024-07-25 17:13:30","againSub":"2024-07-25 17:13:30","newActivity":"2024-07-25 11:56:42"}
+{"bindPhone":"2024-07-24 00:00:00","againSub":"2024-07-24 00:00:00","newActivity":"2024-07-24 00:00:00"}