test cronSendWarReport

This commit is contained in:
shoopea 2019-12-12 18:28:12 +08:00
parent f0b9969ce7
commit d759694512

View File

@ -11,7 +11,7 @@ import (
func startCron() *cron.Cron {
c := cron.New(cron.WithLocation(time.UTC))
c.AddFunc("15 0,8,16 * * *", cronSendWarReport)
c.AddFunc("@every 1min", cronSendWarReport)
c.AddFunc("@every 1m", cronSendWarReport)
c.Start()
return c
}