send mail if debug on

This commit is contained in:
shoopea
2023-08-01 09:35:45 +02:00
parent 8ecde237b1
commit 9c152943cd
4 changed files with 16 additions and 13 deletions

View File

@@ -90,6 +90,7 @@ func (a *AdminConfig) Run() {
log.WithFields(log.Fields{"call": "cron.AddFunc", "error": err}).Errorf("")
}
c.Start()
log.WithFields(log.Fields{"call": "cron.Start"}).Debugf("cron started")
// Listen for the interrupt signal.
<-ctx.Done()