set def ok

This commit is contained in:
shoopea 2019-12-13 17:39:00 +08:00
parent 8bde59743e
commit 9ebce1d76a

View File

@ -12,7 +12,6 @@ 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("@every 1m", cronSetDef)
c.Start()
return c
}