From ab4bfd077b60b99600f5dc5afaf530aa896bf9cb Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 1 Aug 2023 10:09:37 +0200 Subject: [PATCH] reset cron schedule to correct value --- admin.go | 2 +- version.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin.go b/admin.go index 2838c69..9b7138f 100644 --- a/admin.go +++ b/admin.go @@ -86,7 +86,7 @@ func (a *AdminConfig) Run() { }() 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("") } c.Start() diff --git a/version.go b/version.go index 091c47b..1ce2311 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "8ecde23" +var githash = "9c15294" var branch = "v2" -var buildstamp = "2023-08-01_07:34:30" -var commits = "79" -var version = "8ecde23-b79 - 2023-08-01_07:34:30" +var buildstamp = "2023-08-01_08:09:16" +var commits = "80" +var version = "9c15294-b80 - 2023-08-01_08:09:16"