appcron

package module
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(sched string, handler cron.Job) (cron.EntryID, error)

Add --

func Entry

func Entry(id cron.EntryID) cron.Entry

Entry --

func Init

func Init(tzFile string, location string) (err error)

Init --

func Parse

func Parse(spec string) (cron.Schedule, error)

Parse --

func Remove

func Remove(id cron.EntryID)

Remove --

Types

type CronLog added in v0.1.1

type CronLog struct{}

CronLog --

func (*CronLog) Error added in v0.1.1

func (cl *CronLog) Error(err error, msg string, keysAndValues ...any)

Error --

func (*CronLog) Info added in v0.1.1

func (cl *CronLog) Info(msg string, keysAndValues ...any)

Info --

Jump to

Keyboard shortcuts

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