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 GitHub - c-rack/quantum-elixir: Cron-like job scheduler for Elixir · GitHub . 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 Configuration — Quantum v3.5.3 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 …
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance










