Community Feedback

last person joined: 22 hours ago 

How is the community doing? Do you have any questions or feedback related for the Airheads Community team? This is the place to let us know.
Expand all | Collapse all

Air recorder run on multiple controllers

This thread has been viewed 16 times
  • 1.  Air recorder run on multiple controllers

    Posted Jul 01, 2021 12:40 PM
    Does anyone know how to use Air Recorder to run command on Multiple controllers.
    specify a file with all the controllers IP 

    I can make it run if I paste all IPs in one line via CLI, but checking how to do this by specifying a file with controllers from a list.

    thanks for the help.

    ------------------------------
    van dammages
    ------------------------------


  • 2.  RE: Air recorder run on multiple controllers

    Posted Jul 05, 2021 12:15 PM
    Hi,
    if you are on MacOS/Linux, you can use this:
    java -jar AirRecorder-1.7.3-release.jar `cat x`
    with x being a file where you have one IP per line.
    HTH,
    -Thomas

    ------------------------------
    Thomas Bastian
    ------------------------------



  • 3.  RE: Air recorder run on multiple controllers

    Posted Jul 27, 2021 02:54 PM
    Hi I am on windows server 2012.

    any other options?

    ------------------------------
    van dammages
    ------------------------------



  • 4.  RE: Air recorder run on multiple controllers

    Posted Jul 28, 2021 03:01 AM
    I am not Windows batch file expert but maybe following batch file snippet will work:

    ---
    setLocal EnableDelayedExpansion
    SET L=
    FOR /f %%G IN ( ip.txt ) DO SET L=!L! %%G
    ECHO %L%
    java -jar AirRecorder-1.7.3-release.jar %L%
    ---

    Put the IP addresses one per line into the file "ip.txt".
    Hope this helps,
    -Thomas


    ------------------------------
    Thomas Bastian
    ------------------------------