package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Mar 11, 2020
License: GPL-2.0
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.
HasJob returns whether the given job exists.
Jobs returns a map of job names to job.
RemoveJob remove the job with the given name.
FuncJob is alias of `cron.FuncJob`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.