reset cron schedule to correct value

This commit is contained in:
shoopea 2023-08-01 10:09:37 +02:00
parent 9c152943cd
commit ab4bfd077b
2 changed files with 5 additions and 5 deletions

View File

@ -86,7 +86,7 @@ func (a *AdminConfig) Run() {
}() }()
c := cron.New(cron.WithLocation(time.UTC)) c := cron.New(cron.WithLocation(time.UTC))
if _, err := c.AddFunc("0 0 * * *", func() { cfg.Run() }); err != nil { if _, err := c.AddFunc("0 * * * *", func() { cfg.Run() }); err != nil {
log.WithFields(log.Fields{"call": "cron.AddFunc", "error": err}).Errorf("") log.WithFields(log.Fields{"call": "cron.AddFunc", "error": err}).Errorf("")
} }
c.Start() c.Start()

View File

@ -1,7 +1,7 @@
// Code generated by version.sh (@generated) DO NOT EDIT. // Code generated by version.sh (@generated) DO NOT EDIT.
package main package main
var githash = "8ecde23" var githash = "9c15294"
var branch = "v2" var branch = "v2"
var buildstamp = "2023-08-01_07:34:30" var buildstamp = "2023-08-01_08:09:16"
var commits = "79" var commits = "80"
var version = "8ecde23-b79 - 2023-08-01_07:34:30" var version = "9c15294-b80 - 2023-08-01_08:09:16"