tarearbol v1.0.2 Tarearbol.Scheduler.Job behaviour View Source
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
Specs
The struct containing the information about the job
Link to this section Functions
Specs
create( name :: binary(), runner :: Tarearbol.Scheduler.runner(), schedule :: Tarearbol.Scheduler.schedule() ) :: t()
Produces a Tarearbol.Scheduler.Job
by parameters given
Link to this section Callbacks
Specs
run() :: Tarearbol.Scheduler.runner()
The implementation to be run on schedule