set def ok
This commit is contained in:
parent
8bde59743e
commit
9ebce1d76a
1
cron.go
1
cron.go
@ -12,7 +12,6 @@ func startCron() *cron.Cron {
|
|||||||
c := cron.New(cron.WithLocation(time.UTC))
|
c := cron.New(cron.WithLocation(time.UTC))
|
||||||
c.AddFunc("15 7,15,23 * * *", cronSendWarReport)
|
c.AddFunc("15 7,15,23 * * *", cronSendWarReport)
|
||||||
c.AddFunc("58 6,14,22 * * *", cronSetDef)
|
c.AddFunc("58 6,14,22 * * *", cronSetDef)
|
||||||
c.AddFunc("@every 1m", cronSetDef)
|
|
||||||
c.Start()
|
c.Start()
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user