How to Run Windows Executables on Remote Agents in JAMS

Follow

Run Windows Executables on Remote Agents in JAMS

To run executables on a remote server with JAMS, users must create a JAMS Command Job that references the path of the EXE, relative to the remote machine. 

NOTE: To run JAMS Jobs on a remote server, a JAMS Agent must be deployed to the server.

 


 

To frame the instructions for creating the Command Job to reference the path of the application, consider the following scenario:

IndustrialCo needs to run Application.exe on Server_A. Instructions to run the application change based on the location of the application:

  1. Application.exe exists locally on Server_A.
  2. Application.exe exists on Server_B, which is mapped on Server_A.

 

 

I. The executable exists locally:

  1. Create a JAMS Job using the Command Execution method
  2. Choose the user account that has permissions to the remote server.
  3. In the Job Source, put the local path of the executable bracketed by quotes.
  4. Ensure Edit the Job definition after adding is checked, then click Finish
  5. Select Properties, then open the Submit Options
  6. Select the desired Agent Node (In this case, Server_A) from the drop-down list, then select the User that has access to run an executable on Server_A.
  7. Save and Close the Job

 

II. The EXE exists on a mapped drive

  1. Create a JAMS Job using the Command Execution method
  2. Choose the user account that has permissions to run executables on the given server.
  3. In the Job Source, put the path of the executable, relative to the location where the executable will run. In this example, Server_B is a mapped drive on Server_A.
  4. Ensure Edit the Job definition after adding is checked, then click Finish.
  5. Select Properties, then open the Submit Options.
  6. Select the desired Agent Node (In this case, Server_A) from the drop-down list, then select the User that has access to run an executable on Server_A. In this case, the user must also have access to the Server_B mapped drive.
  7. Save and Close the Job
Have more questions? Submit a request

Comments