done testing cronSendWarReport
This commit is contained in:
parent
b97e7a691c
commit
0d6cce136d
1
cron.go
1
cron.go
@ -11,7 +11,6 @@ import (
|
|||||||
func startCron() *cron.Cron {
|
func startCron() *cron.Cron {
|
||||||
c := cron.New(cron.WithLocation(time.UTC))
|
c := cron.New(cron.WithLocation(time.UTC))
|
||||||
c.AddFunc("15 0,8,16 * * *", cronSendWarReport)
|
c.AddFunc("15 0,8,16 * * *", cronSendWarReport)
|
||||||
c.AddFunc("@every 1m", cronSendWarReport)
|
|
||||||
c.Start()
|
c.Start()
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user