cron

package
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shutdown

func Shutdown() error

func Startup

func Startup() (err error)

Types

type Job added in v0.0.12

type Job struct {
	gocron.Job
}

func Crontab

func Crontab(crontab string, fn func()) (*Job, error)

func Interval

func Interval(interval int64, fn func()) (*Job, error)

func (*Job) Stop added in v0.0.12

func (j *Job) Stop() error

Jump to

Keyboard shortcuts

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