# Functions
ConstBool returns a value provider for a constant.
ConstDuration returns a value provider for a constant.
ConstInt returns a value provider for a constant.
ConstLabels returns a value provider for a constant.
DailyAtUTC returns a schedule that fires every day at the given hour, minute and second in UTC.
Default returns a shared instance of a JobManager.
Delay returns a composite schedule that delays a given schedule by a given duration.
Every returns a schedule that fires every given interval.
EveryHour returns a schedule that fire every hour.
EveryHourAtUTC returns a schedule that fires every hour at a given minute.
EveryHourOnTheHour returns a schedule that fires every 60 minutes on the 00th minute.
EveryMinute returns a schedule that fires every minute.
EverySecond returns a schedule that fires every second.
FormatTime returns a string for a time.
GetJobInvocation gets the job invocation from a given context.
GetJobManager gets a JobManager off a context.
GetJobParameterValues gets parameter values from a given context.
GetJobScheduler gets a JobScheduler off a context.
Immediately Returns a schedule that causes a job to run immediately on start, with an optional subsequent schedule.
IsContextCanceled check if a job is canceled.
IsJobAlreadyLoaded returns if the error is a job already loaded error.
IsJobAlreadyRunning returns if the error is a task not found error.
IsJobCanceled returns if the error is a task not found error.
IsJobNotFound returns if the error is a task not found error.
IsJobNotLoaded returns if the error is a job not loaded error.
IsWeekDay returns if the day is a monday->friday.
IsWeekendDay returns if the day is a monday->friday.
Max returns the maximum of two times.
MergeJobParameterValues merges values from many sources.
Min returns the minimum of two times.
Never returns a never schedule.
New returns a new job manager.
NewEvent creates a new event with a given set of optional options.
NewEventListener returns a new event listener.
NewJob returns a new job builder.
NewJobInvocation returns a new job invocation.
NewJobInvocationID returns a new pseudo-unique job invocation identifier.
NewJobScheduler returns a job scheduler for a given job.
Now returns a new timestamp.
OnceAtUTC returns a schedule that fires once at a given time.
OptBaseContext sets the job manager base context.
OptEventElapsed sets a field.
OptEventErr sets a field.
OptEventJobInvocation sets a field.
OptJobAction sets the job action.
OptJobBackground sets the background provider.
OptJobConfig sets the job config.
OptJobDisabled is a job builder sets the job timeout provder.
OptJobLabels is a job builder sets the job labels.
OptJobName sets the job name.
OptJobOnBegin sets a lifecycle hook.
OptJobOnBroken sets a lifecycle hook.
OptJobOnCancellation sets the on cancellation lifecycle hook.
OptJobOnComplete sets a lifecycle hook.
OptJobOnDisabled sets a lifecycle hook.
OptJobOnEnabled sets a lifecycle hook.
OptJobOnError sets a lifecycle hook.
OptJobOnFixed sets a lifecycle hook.
OptJobOnLoad sets a lifecycle hook.
OptJobOnSuccess sets a lifecycle hook.
OptJobOnUnload sets a lifecycle hook.
OptJobSchedule is a job builder sets the job schedule provder.
OptJobSchedulerBaseContext sets the job scheduler BaseContext.
OptJobSchedulerLog sets the job scheduler logger.
OptJobSchedulerTracer sets the job scheduler tracer.
OptJobShutdownGracePeriod is a job builder sets the job shutdown grace period provder.
OptJobTimeout is a job builder sets the job timeout provder.
OptLog sets the job manager logger.
OptTracer sets the job manager tracer.
ParseSchedule parses a cron formatted string into a schedule.
SetDefault sets the default job manager.
Since returns the duration since another timestamp.
Times returns a new times schedule that returns a given next run time from a schedule only a certain number of times.
WeekdaysAtUTC returns a schedule that fires every week day at the given hour, minute and second in UTC>.
WeekendsAtUTC returns a schedule that fires every weekend day at the given hour, minut and second.
WeeklyAtUTC returns a schedule that fires on every of the given days at the given time by hour, minute and second in UTC.
WithJobInvocation adds job invocation to a context.
WithJobManager adds a job manager to a context.
WithJobParameterValues adds job invocation parameter values to a context.
WithJobScheduler adds a job scheduler to a context.
# Constants
AllDaysMask is a bitmask of all the days of the week.
DefaultDisabled is a default.
Constats and defaults.
DefaultShouldSkipLoggerListeners is a default.
DefaultShouldSkipLoggerOutput is a default.
Constats and defaults.
Constats and defaults.
ErrJobAlreadyLoaded is a common error.
ErrJobAlreadyRunning is a common error.
ErrJobCanceled is a common error.
ErrJobNotFound is a common error.
ErrJobNotLoaded is a common error.
Error Constants.
Error Constants.
Error Constants.
Error Constants.
FlagBegin is an event flag.
FlagBroken is an event flag.
FlagCanceled is an event flag.
FlagComplete is an event flag.
FlagDisabled is an event flag.
FlagEnabled is an event flag.
FlagErrored is an event flag.
FlagFixed is an event flag.
FlagSuccess is an event flag.
JobInvocationState values.
JobInvocationState values.
JobInvocationState values.
JobInvocationState values.
JobInvocationState values.
JobManagerState values.
JobManagerState values.
JobManagerState values.
JobManagerState values.
JobManagerState values.
JobManagerState values.
String schedule constants.
String schedule constants.
String schedule constants.
String schedule constants.
String schedule constants.
String schedule constants.
String schedule shorthands labels.
String schedule shorthands labels.
String schedule shorthands labels.
String schedule shorthands labels.
String schedule shorthands labels.
String schedule shorthands labels.
WeekDaysMask is a bitmask of all the weekdays of the week.
WeekendDaysMask is a bitmask of the weekend days of the week.
# Variables
DaysOfWeek are all the time.Weekday in an array for utility purposes.
Epoch is unix epoch saved for utility purposes.
String schedule shorthand values.
WeekDays are the business time.Weekday in an array.
WeekWeekEndDaysDays are the weekend time.Weekday in an array.
Zero is different than epoch in that it is the "unset" value for a time where Epoch is a valid date.
# Structs
DailySchedule is a schedule that fires every day that satisfies the DayOfWeekMask at the given TimeOfDayUTC.
DelaySchedule wraps a schedule with a delay.
Event is an event.
ImmediateSchedule fires immediately with an optional continuation schedule.
IntervalSchedule is as chedule that fires every given interval with an optional start delay.
JobBuilder allows for job creation w/o a fully formed struct.
JobConfig is a configuration set for a job.
JobInvocation is metadata for a job invocation (or instance of a job running).
JobLifecycle is a suite of lifeycle hooks you can set for a given job.
JobManager is the main orchestration and job management object.
JobScheduler is a job instance.
NeverSchedule is a schedule that never runs.
OnceAtUTCSchedule is a schedule.
OnTheHourAtUTCSchedule is a schedule that fires every hour on the given minute.
StringSchedule is a schedule generated from a cron string.
TimesSchedule is a schedule that only returns a certain number of schedule "Next" results after which it returns time.Time{} for the next runtime.
# Interfaces
BackgroundProvider is a type that returns a base context based on a parent.
ConfigProvider is a type that returns a job config.
Job is an interface types can satisfy to be loaded into the JobManager.
LifecycleProvider is a job that provides lifecycle hooks.
Schedule is a type that provides a next runtime after a given previous runtime.
ScheduleProvider is a type that provides a schedule for the job.
TraceFinisher is a finisher for traces.
Tracer is a trace handler.
# Type aliases
Action is an function that can be run as a task.
EventOption is an option for an Event.
JobBuilderOption is a job builder option.
JobInvocationStatus is a job status.
JobManagerOption is a job manager option.
JobManagerState is a job manager status.
JobParameters is a loose association to map[string]string.
JobSchedulerOption is an option for job schedulers.
JobSchedulersByJobNameAsc is a wrapper that sorts job schedulers by the job name ascending.
JobSchedulerState is a job manager status.
ScheduleFunc is a function that implements schedule.