package
Version:
v0.0.0-...-17b3017
Opens a new window with list of versions in this module.
Published: May 21, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cron provides some cron utility functions.
Parse parses job specification.
Cron wraps `cron.Cron`.
New returns an instance of Cron.
AddJob removes the job with the same name first and adds a new job.
func (c *Cron) Entries() []cron.Entry
HasJob returns whether the given job exists.
Jobs returns a map of job names to job.
RemoveJob remove the job with the given name.
type FuncJob = cron.FuncJob
FuncJob is alias of `cron.FuncJob`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.