Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunScheduler ¶ added in v0.12.0
RunScheduler ticks every 60s and dispatches RunCron for jobs whose cron expression matches the current minute. Blocks until ctx is cancelled. Caller must have already bootstrapped jobs on jobsSvc.
Exposed so a single-node entrypoint (server + worker in one process) can share one *manager.Service with the HTTP layer instead of running two competing schedulers — see cmd/lab/all.go.
Types ¶
Click to show internal directories.
Click to hide internal directories.