This commit is contained in:
shoopea 2019-12-18 10:46:58 +08:00
parent 8cfca13b35
commit 13b69d8243

View File

@ -12,8 +12,8 @@ func startCron() *cron.Cron {
c := cron.New(cron.WithLocation(time.UTC))
c.AddFunc("15 7,15,23 * * *", cronSendWarReport)
c.AddFunc("58 6,14,22 * * *", cronSetDef)
c.AddFunc("02 1,3,5,9,11,13,17,19,21 * * *", cronHammerTime)
c.AddFunc("10 7,15,23 * * *", cronHammerTime)
c.AddFunc("02 1,3,5,9,11,13,17,19,21 * * *", cronGetHammerTime)
c.AddFunc("10 7,15,23 * * *", cronGetHammerTime)
c.Start()
return c
}