dmarko484
Is there a way how to restart worker under supervisor from IEX?
I’m experimenting with my app in dev mode. I started app with IEX running and I have quantum schduler configured and running based on readme here https://github.com/c-rack/quantum-elixir . My scheduler is started under superviser as worker(App13.Scheduler, []), Now is there a way to update config with quantum params (list of scheduled tasks) and restart worker without exiting and starting the entire app from scratch?
Most Liked
dmarko484
Thanks a lot for hints. One can define named jons https://hexdocs.pm/quantum/configuration.html#named-jobs and manupulate with job in IEX using their names e.g. https://hexdocs.pm/quantum/runtime.html#jobs-with-second-granularity
Quantum API is really great … whats more OTP is great here as I can manipulate live app in such an easy way …








