I have a number of tasks and jobs that I would like to be able to execute manually on a production elixir application. Currently, I have been performing them by running the code inside the remote_console
. I Attempted to run them by using /bin/my_app command MyModule my_func
, but I get errors about resources being used by another Erlang node.
I would prefer to use the /bin/my_app command MyModule my_func
style so I can run the bash scripts using ssh.
What's is the recommended way to run remote tasks on Elixir application?