Versions in this module Expand all Collapse all v1 v1.0.0 May 12, 2023 Changes in this version + func EnableCron() fx.Option + func EnableGracefulShutdown() fx.Option + func ProvideJob(job interface{}) fx.Option + type JobProperties struct + Disable bool + Expression string + type JobsProperties struct + Jobs map[string]JobProperties + func NewJobsProperties(loader config.Loader) (*JobsProperties, error) + func (t *JobsProperties) Prefix() string + type Scheduler struct + func NewScheduler(params SchedulerConstructorParams) (*Scheduler, error) + func (s *Scheduler) Start() + func (s *Scheduler) Stop() error + type SchedulerConstructorParams struct + Jobs []cron.Job + Properties *JobsProperties