Versions in this module Expand all Collapse all v0 v0.2.0 Jan 14, 2022 Changes in this version + func SetLocker(l job.Locker) v0.1.0 Jan 13, 2022 Changes in this version + func ChangeTimeLocation(location *time.Location) + func Clear() + func Every(interval uint64) *job.Job + func Jobs() []*job.Job + func NextRun() (job *job.Job, time time.Time) + func Remove(j interface{}) + func RunAll() + func RunAllWithDelay(d int) + func RunPending() + func Scheduled(j interface{}) bool + func Start() chan bool + type Scheduler struct + JobList [global.MaxJobs]*job.Job + JobSize int + Location *time.Location + func NewScheduler() *Scheduler + func (s *Scheduler) ChangeLocation(newLocation *time.Location) + func (s *Scheduler) Clear() + func (s *Scheduler) Every(interval uint64) *job.Job + func (s *Scheduler) GetRunnableJobs() (runningJobs [global.MaxJobs]*job.Job, n int) + func (s *Scheduler) Jobs() []*job.Job + func (s *Scheduler) Len() int + func (s *Scheduler) Less(i, j int) bool + func (s *Scheduler) NextRun() (*job.Job, time.Time) + func (s *Scheduler) Remove(j interface{}) + func (s *Scheduler) RemoveByCondition(remove func(*job.Job) bool) + func (s *Scheduler) RemoveByRef(j *job.Job) + func (s *Scheduler) RemoveByTag(t string) + func (s *Scheduler) RunAll() + func (s *Scheduler) RunAllWithDelay(d int) + func (s *Scheduler) RunPending() + func (s *Scheduler) Scheduled(j interface{}) bool + func (s *Scheduler) Start() chan bool + func (s *Scheduler) Swap(i, j int)