diff --git a/internal/runtime/crontab/crontab.go b/internal/runtime/crontab/crontab.go index 83b875f..137202d 100644 --- a/internal/runtime/crontab/crontab.go +++ b/internal/runtime/crontab/crontab.go @@ -3,6 +3,7 @@ package crontab import ( "context" "fmt" + "os" "github.com/google/uuid" "github.com/robfig/cron/v3" @@ -48,6 +49,8 @@ func (m *Crontab) Start() error { // })) c.Start() + // Readiness is independent of application log filtering. + fmt.Fprintln(os.Stdout, `{"event":"crontab_ready"}`) log.Infof("crontab start") <-m.options.Context.Done()