v2 #2
2
admin.go
2
admin.go
@ -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()
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user