package
2.7.3
Repository: https://github.com/aeo123/gf.git
Documentation: pkg.go.dev

# Functions

Add adds a timed task to default cron object.
AddOnce adds a timed task which can be run only once, to default cron object.
AddSingleton adds a singleton timed task, to default cron object.
AddTimes adds a timed task which can be run specified times, to default cron object.
DelayAdd adds a timed task to default cron object after `delay` time.
DelayAddOnce adds a timed task after `delay` time to default cron object.
DelayAddSingleton adds a singleton timed task after `delay` time to default cron object.
DelayAddTimes adds a timed task after `delay` time to default cron object.
Entries return all timed tasks as slice.
GetLogger returns the global logger in the cron.
New returns a new Cron object with default settings.
Remove deletes scheduled task which named `name`.
Search returns a scheduled task with the specified `name`.
SetLogger sets the global logger for cron.
Size returns the size of the timed tasks of default cron.
Start starts running the specified timed task named `name`.
Stop stops running the specified timed task named `name`.
StopGracefully Blocks and waits all current running jobs done.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Cron stores all the cron job entries.
Entry
Entry is timing task entry.

# Type aliases

JobFunc is the timing called job function in cron.