test
This commit is contained in:
parent
af3277d65a
commit
fa005d77d4
2
cron.go
2
cron.go
@ -15,7 +15,7 @@ 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 7,15,23 * * *", cronSendWarReport)
|
c.AddFunc("15 7,15,23 * * *", cronSendWarReport)
|
||||||
c.AddFunc("58 6,14,22 * * *", cronSetDef)
|
c.AddFunc("59 6,14,22 * * *", cronSetDef)
|
||||||
c.AddFunc("02 1,3,5,9,11,13,17,19,21 * * *", cronGetHammerTime)
|
c.AddFunc("02 1,3,5,9,11,13,17,19,21 * * *", cronGetHammerTime)
|
||||||
c.AddFunc("10 7,15,23 * * *", cronGetHammerTime)
|
c.AddFunc("10 7,15,23 * * *", cronGetHammerTime)
|
||||||
c.AddFunc("13 3,7,11,15,19,23 * * *", cronTribute)
|
c.AddFunc("13 3,7,11,15,19,23 * * *", cronTribute)
|
||||||
|
Loading…
Reference in New Issue
Block a user