cronx

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remove

func Remove(id EntryID)

func Run

func Run()

Types

type Entry

type Entry = cron.Entry

func Entries

func Entries() []Entry

type EntryID added in v1.2.1

type EntryID = cron.EntryID

func AddJob

func AddJob(spec string, job Job) (EntryID, error)

type Job

type Job interface {
	Name() string
	Run()
}

Jump to

Keyboard shortcuts

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