[erlang-questions] Running an erl program on a remote machine

Attila Rajmund Nohl <>
Mon May 23 16:29:21 CEST 2011


2011/5/23,  <>:
> Hello,
>
> is it possible to run an erlang program on a remote machine without using
> the erl console?
>
> For instance, let's say that I have written a program that runs a batch
> script and that I would like to run it on machine B at a set time. Can I
> create an entry in my machine's crontab which runs the following script:
>
> erl -name machineB -detached <the name of the erl script that runs the batch
> script>

You have to start the Erlang VM on the remote server somehow, possibly
using ssh. Then it's just an other node.



More information about the erlang-questions mailing list