appcron

package module
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 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 ...interface{})

Error --

func (*CronLog) Info added in v0.1.1

func (cl *CronLog) Info(msg string, keysAndValues ...interface{})

Info --

Jump to

Keyboard shortcuts

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