Comment by vbezhenar
2 days ago
`cronService` is an injected instance of some class, probably provided by framework. My point is to demonstrate alternative, imperative way of defining cron tasks, as compared to declarative one.
2 days ago
`cronService` is an injected instance of some class, probably provided by framework. My point is to demonstrate alternative, imperative way of defining cron tasks, as compared to declarative one.
A better name would probably be CronScheduler or something else. “Service” is always overused and doesn’t actually describe or mean anything.