ofelia
ofelia copied to clipboard
2 jobs registered, one scheduled, how to debug?
2022-03-29T00:55:25.779Z scheduler.go:34 ▶ NOTICE New job registered "keepalive" - "date" - "@every 30s"
2022-03-29T00:55:25.779Z scheduler.go:34 ▶ NOTICE New job registered "test2" - "date" - "every 5s"
2022-03-29T00:55:25.779Z scheduler.go:54 ▶ DEBUG Starting scheduler with 1 jobs
How do I debug this, why is one missing? Any way to increase verbosity?
You are missing @ in front of "every" for your "test2" job.
Ah, that makes sense. My issue though is more about there being no debug info to suggest what is wrong and why. I would think if it can't start a scheduler then some sort of WARNING should be issued.