# Functions
AfterJobRuns is called after the job is run This is called even when an error is returned.
BeforeJobRuns is called before the job is run.
DefaultScheduler returns the default scheduler.
NewScheduler creates a new Scheduler.
SetPanicHandler sets the global panicHandler to the given function.
WhenJobReturnsError is called when the job returns an error.
WhenJobReturnsNoError is called when the job does not return an error the function must accept a single parameter, which is an error.
# Constants
RescheduleMode - the default is that if a limit on maximum concurrent jobs is set and the limit is reached, a job will skip it's run and try again on the next occurrence in the schedule.
WaitMode - if a limit on maximum concurrent jobs is set and the limit is reached, a job will wait to try and run until a spot in the limit is freed up.
# Variables
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
No description provided by the author
No description provided by the author
No description provided by the author
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
Error declarations for cron related errors.
# Interfaces
Elector determines the leader from instances asking to be the leader.
Lock represents an obtained lock.
Locker represents the required interface to lock jobs when running multiple schedulers.
TimeWrapper is an interface that wraps the Now, Sleep, and Unix methods of the time package.
# Type aliases
EventListener functions utilize the job's name and are triggered by or in the condition that the name suggests.
PanicHandlerFunc represents a type that can be set to handle panics occurring during job execution.