View Source Supervision Tree
YourApp.Scheduler(Quantum) - Your primary Interface to interact with. (Likeadd_job/1etc.)YourApp.Scheduler.Supervisor(Quantum.Supervisor) - The Supervisor that coordinates configuration, the runner and task supervisor.YourApp.Scheduler.TaskRegistry(Quantum.TaskRegistry) - TheGenServerthat keeps track of running tasks and prevents overlap.YourApp.Scheduler.JobBroadcaster(Quantum.JobBroadcaster) - TheGenStagethat keeps track of all jobs.YourApp.Scheduler.ExecutionBroadcaster(Quantum.ExecutionBroadcaster) - TheGenStagethat notifies execution of jobs.YourApp.Scheduler.ExecutorSupervisor(Quantum.ExecutorSupervisor) - TheConsumerSupervisorthat spawns an Executor for every execution.no_name(YourApp.Scheduler.Executor) - TheTaskthat calls theYourApp.Scheduler.TaskSupervisorwith the execution of the Cron (per Node).
YourApp.Scheduler.TaskSupervisor(Task.Supervisor) - TheTask.Supervisorwhere all Cron jobs run in.Task- The place where the defined Cron job action gets called.
Error Handling
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.