<div dir="ltr"><div>But this <span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents"><span class="gmail-mw_t_it">defeats the purpose</span><em class="gmail-mw_t_it"> </em><span class="gmail-mw_t_it">of</span> NOT having a dedicated node to run a dedicated module</span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents">to just stop nodes. Really? I was expecting this 'solution'.<br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents">C'mon man, this is erlang we are talking about!<br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents"><br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents">It could do better than this!<br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents"><br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents"><br></span></span></span></div><div><span class="gmail-sb-0"><span class="gmail-dt"><span class="ex-sent gmail-first-child gmail-t gmail-no-aq gmail-sents"><br> </span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 29, 2022 at 4:27 PM Luke Bakken <<a href="mailto:luke@bakken.io">luke@bakken.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">At this point I would put together a small module, and use -s or -eval<br>
to run the code. erlc is right there!<br>
<br>
On Tue, Mar 29, 2022 at 6:26 AM Bogdan Andu <<a href="mailto:bog495@gmail.com" target="_blank">bog495@gmail.com</a>> wrote:<br>
><br>
> I know erl -eval, but elixir --rpc-eval gives the error also, like this:<br>
> --rpc-eval : RPC failed with reason :nodedown<br>
> while erl -eval is silent about errors like node down which is very important.<br>
><br>
> May be a try catch would do the trick but already is too much to pass to eval.<br>
><br>
> On Tue, Mar 29, 2022 at 3:57 PM Luke Bakken <<a href="mailto:luke@bakken.io" target="_blank">luke@bakken.io</a>> wrote:<br>
>><br>
>> Give "-eval" a try instead.<br>
>><br>
>> On Tue, Mar 29, 2022 at 5:40 AM Bogdan Andu <<a href="mailto:bog495@gmail.com" target="_blank">bog495@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hi,<br>
>> ><br>
>> > I tried that before like this:<br>
>> > $ erl -setcookie proxy -proto_dist inet_tls -ssl_dist_optfile file_with_pem -name 'stop-node@host' -s rpc call target-node@host init stop []<br>
>> > Erlang/OTP 24 [erts-12.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]<br>
</blockquote></div>