fix ChatWarsMessage
This commit is contained in:
parent
fdb36c7bcd
commit
a983da04a2
2
cron.go
2
cron.go
@ -11,7 +11,7 @@ func startCron() *cron.Cron {
|
||||
c := cron.New(cron.WithLocation(time.UTC))
|
||||
c.AddFunc("@every 1m", cronSendReport)
|
||||
c.Start()
|
||||
return
|
||||
return c
|
||||
}
|
||||
|
||||
func stopCron(c *cron.Cron) {
|
||||
|
Loading…
Reference in New Issue
Block a user