cron

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 10 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 Kuber 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