cron

package
v1.0.0-beta4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ErrCronRunning = errors.Sentinel("cron: job already running")

Variables

This section is empty.

Functions

func Scheduler

func Scheduler(ctx context.Context, m *server.Manager) (*gocron.Scheduler, error)

Scheduler configures the internal cronjob system for Wings and returns the scheduler instance to the caller. This should only be called once per application lifecycle, additional calls will result in an error being returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL