Quantum) - Your primary Interface to interact with. (Like
Quantum.Supervisor) - The Supervisor that coordinates configuration, the runner and task supervisor.
Quantum.TaskRegistry) - The
GenServerthat keeps track of running tasks and prevents overlap.
Quantum.JobBroadcaster) - The
GenStagethat keeps track of all jobs.
Quantum.ExecutionBroadcaster) - The
GenStagethat notifies execution of jobs.
Quantum.ExecutorSupervisor) - The
ConsumerSupervisorthat spawns an Executor for every execution.
YourApp.Scheduler.Executor) - The
Taskthat calls the
YourApp.Scheduler.Task.Supervisorwith the execution of the Cron (per Node).
Task.Supervisor) - The
Task.Supervisorwhere all Cron jobs run in.
Task- The place where the defined Cron job action gets called.
The OTP Supervision Tree is initiated by the user of the library. Therefore the error handling can be implemented via normal OTP means. See
Supervisor module for more information.