<div dir="ltr">Hi,<div><br></div><div>As an expedient, when the host is booted, I'm starting an erlang project with cron using something similar to the following in a crontab:</div><div><br></div><div>@reboot ~/my_proj/rel/my_proj/bin/my_proj start<br>
</div><div><br></div><div>where my_proj is built using "rebar compile generate".</div><div><br></div><div>While this *does* actually start the erlang project, the "run_erl" logfiles it generates differ from those that are generated when the project is started from the command line using the same command; <b>each log entry is suffixed with a (node@host)1> prompt.</b></div>
<div><br></div><div>For example, here's a snippet of log started via cron (weird suffixes highlighted in red)</div><div><br></div><div><div>Eshell V5.9.2  (abort with ^G)</div><div>(<a href="mailto:my_proj@production-useast1a-lr03.example.com">my_proj@production-useast1a-lr03.example.com</a>)1></div>
<div>=INFO REPORT==== 27-Nov-2013::19:41:54 ===</div><div>Registering 0 remote connections on node '<a href="mailto:my_proj@production-useast1a-lr04.example.com">my_proj@production-useast1a-lr04.example.com</a>'<span style="background-color:rgb(255,255,255)"><font color="#ff0000">(<a href="mailto:my_proj@production-useast1a-lr03.example.com">my_proj@production-useast1a-lr03.example.com</a>)1></font></span></div>
<div>=INFO REPORT==== 27-Nov-2013::19:41:54 ===</div><div>Node '<a href="mailto:my_proj@production-useast1a-lr04.example.com">my_proj@production-useast1a-lr04.example.com</a>' connected with 0 users<font color="#ff0000">(<a href="mailto:my_proj@production-useast1a-lr03.example.com">my_proj@production-useast1a-lr03.example.com</a>)1></font></div>
<div><br></div><div>And the same snippet later when started from bash:</div><div><br></div><div>Eshell V5.9.2  (abort with ^G)</div><div>(<a href="mailto:my_proj@production-useast1a-lr03.example.com">my_proj@production-useast1a-lr03.example.com</a>)1></div>
<div>=INFO REPORT==== 27-Nov-2013::19:56:42 ===</div><div>Registering 0 remote connections on node '<a href="mailto:my_proj@production-useast1a-lr04.example.com">my_proj@production-useast1a-lr04.example.com</a>'</div>
<div>=INFO REPORT==== 27-Nov-2013::19:56:42 ===</div><div>Node '<a href="mailto:my_proj@production-useast1a-lr04.example.com">my_proj@production-useast1a-lr04.example.com</a>' connected with 0 users</div></div><div>
<br></div><div>Can anyone give me any clues as to why this might be happening, and especially suggestions on how to stop it?</div><div><br></div><div>Thanks,</div><div>Jay</div></div>