View Source Tarearbol.Scheduler.Job (tarearbol v1.9.8)
A struct holding the job description. Used internally by Tarearbol.Scheduler
to preserve a list of scheduled jobs.
Link to this section Summary
Functions
Produces a Tarearbol.Scheduler.Job
by parameters given
Link to this section Types
@type t() :: %Tarearbol.Scheduler.Job{ name: binary(), runner: Tarearbol.Scheduler.runner(), schedule: Tarearbol.Scheduler.repeated_schedule(), once?: boolean() }
The struct containing the information about the job
Link to this section Functions
@spec create( name :: binary(), runner :: Tarearbol.Scheduler.runner(), schedule :: Tarearbol.Scheduler.repeated_schedule() | Tarearbol.Scheduler.once_schedule() ) :: t()
Produces a Tarearbol.Scheduler.Job
by parameters given