cron

package
v0.0.0-...-4d7a4a1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScheduler

func NewScheduler() scheduler.Scheduler

Types

type Cron

type Cron struct {
	// contains filtered or unexported fields
}

func (Cron) AddFunc

func (c Cron) AddFunc(spec string, cmd func()) (string, error)

func (Cron) Remove

func (c Cron) Remove(jobID string) error

func (Cron) Start

func (c Cron) Start()

Jump to

Keyboard shortcuts

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