cron

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListTasks

func ListTasks() []*cron.Entry

ListTasks returns all running cron tasks.

func NewContext

func NewContext()

NewContext begins cron tasks

Types

type Func added in v1.10.0

type Func func()

Func defines a cron function body

func WithUnique added in v1.10.0

func WithUnique(name string, body Func) Func

WithUnique wrap a cron func with an unique running check

Jump to

Keyboard shortcuts

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