Discover Packages
github.com/golang-mixins/schedule
cron
package
Version:
v0.0.0-...-f7e4026
Opens a new window with list of versions in this module.
Published: Nov 10, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cron implements interfaces schedule.
New - constructor Scheduler.
Scheduler defines the structure implements interfaces schedule.
Using structure methods without initialization with the New constructor will lead to panic.
AddTask - adds an executable task to the scheduler.
Reset - resets the scheduler, making it again available without any tasks on it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.