diff --git a/admin.go b/admin.go index 27326cc..5848258 100644 --- a/admin.go +++ b/admin.go @@ -87,6 +87,7 @@ func (a *AdminConfig) Run() { c := cron.New(cron.WithLocation(time.UTC)) c.AddFunc("00 * * *", func() { cfg.Run() }) + c.Start() // Listen for the interrupt signal. <-ctx.Done() diff --git a/version.go b/version.go index 1ad253f..da82a5c 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "f6fdd83" +var githash = "c72f903" var branch = "v2" -var buildstamp = "2023-07-31_18:47:13" -var commits = "76" -var version = "f6fdd83-b76 - 2023-07-31_18:47:13" +var buildstamp = "2023-07-31_22:15:30" +var commits = "77" +var version = "c72f903-b77 - 2023-07-31_22:15:30"