cron

package
v0.0.0-...-116761d Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cron

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

func GetCron

func GetCron() *Cron

func (Cron) RegisterCron

func (p Cron) RegisterCron(spec string, cmd func()) error

func (Cron) RegisterJob

func (p Cron) RegisterJob(spec string, cmd cron.Job) error

func (Cron) StartCron

func (p Cron) StartCron()

func (Cron) StopCron

func (p Cron) StopCron()

Jump to

Keyboard shortcuts

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