|
@@ -37,8 +37,8 @@ func YqCron() {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
- token := getToken()
|
|
|
|
- syncBar(token, pastureinfo.Pastureid, pastureinfo.Werks)
|
|
|
|
|
|
+ // token := getToken()
|
|
|
|
+ // syncBar(token, pastureinfo.Pastureid, pastureinfo.Werks)
|
|
c := cron.New()
|
|
c := cron.New()
|
|
c.AddFunc("0 0 1 * * *", func() {
|
|
c.AddFunc("0 0 1 * * *", func() {
|
|
token := getToken()
|
|
token := getToken()
|