package
0.7.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

Daily is a convenience for creating a schedule that runs once a day.
Every returns a Schedule that always returns the given time interval.
Hourly is a convenience for creating a schedule that runs once an hour.
Start a single task executing the given function with the given schedule.

# Variables

ErrSkip is a special error that may be returned by a Schedule function to mean to skip a particular execution of the task function, and just wait the returned interval before re-evaluating.
SkipFirst is an option for the Every schedule that will make the schedule skip the very first invokation of the task function.

# Structs

Group of tasks sharing the same lifecycle.
Task executes a certain function periodically, according to a certain schedule.

# Type aliases

EveryOption captures a tweak that can be applied to the Every schedule.
Func captures the signature of a function executable by a Task.
Schedule captures the signature of a schedule function.