package
1.7.0
Repository: https://github.com/kubeservice-stack/common.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Clear all scheduled jobs.
Every schedules a new periodic job running in specific interval.
NewScheduler creates a new scheduler.
NewTask creates a new job with the time interval.
NextRun gets the next running time.
Remove a specific job.
RunAll run all jobs regardless if they are scheduled to run or not.
RunAllwithDelay run all the jobs with a delay in seconds A delay of `delay` seconds is added between each job.
RunPending run all jobs that are scheduled to run Please note that it is *intended behavior that run_pending() does not run missed jobs*.
Scheduled checks if specific job j was already added.
No description provided by the author
Start run all jobs that are scheduled to run.

# Constants

No description provided by the author

# Variables

No description provided by the author
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

Scheduler struct, the only data member is the list of jobs.
Task struct keeping information about job.

# Interfaces

No description provided by the author