Hi,

The apex CLI an also be used in batch mode

-e <single cmd>

you can also use a script file like so:

apex < mycmds.txt

Other apex CLI documentation is here:

http://apex.apache.org/docs/apex/apex_cli/

We will add above to it.

HTH,
Thomas



On Tue, Sep 13, 2016 at 1:02 PM, Meemee Bradley <[email protected]>
wrote:

> Hi,
>
> I am new to Apache Apex. I have a script to monitor submitted Apex
> application using yarn utilities, when application fails, if application
> can not relaunch/recover by itself, I would like to launch the application
> again. Currently, I can do that by using Apex CLI, and launch the
> application with original ID interactively. I would prefer to launch the
> application again from a script without using Apex CLI interactively. Any
> ideas regarding how do I accomplish that?
>
> Thanks!
>
>

Reply via email to