quantum-elixir / quantum-core

:watch: Cron-like job scheduler for Elixir
https://hexdocs.pm/quantum/
Apache License 2.0
2.3k stars 147 forks source link

Is it possible to load a list of jobs when starting the scheduler? #484

Closed benonymus closed 3 years ago

benonymus commented 3 years ago

The title basically, in case the scheduler crashes can we load in a list of jobs to start with?

maennchen commented 3 years ago

Sure, just add them in the init callback: https://hexdocs.pm/quantum/Quantum.html#c:init/1