Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 v1.0.0 Nov 7, 2026 Changes in this version + type Job struct + Cron string + Every time.Duration + Jitter time.Duration + LockTTL time.Duration + Name string + Run func(ctx context.Context) error + RunOnStart bool + Singleton bool + Timeout time.Duration + type Scheduler struct + func New(locker lock.Locker) *Scheduler + func (s *Scheduler) Add(j Job) error + func (s *Scheduler) Jobs() []string + func (s *Scheduler) MustAdd(j Job) + func (s *Scheduler) OnReady(ctx context.Context) error + func (s *Scheduler) OnShutdown(ctx context.Context) error + func (s *Scheduler) Start(parent context.Context) error + func (s *Scheduler) Stop(ctx context.Context) error