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:
- Application.exe exists locally on Server_A.
- Application.exe exists on Server_B, which is mapped on Server_A.
The executable exists locally
- Create a JAMS Job using the Command Execution method
- Choose the user account that has permissions to the remote server.
- In the Job Source, put the local path of the executable bracketed by quotes.
- Ensure Edit the Job definition after adding is checked, then click Finish
- Select Properties, then open the Submit Options
- 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.
- Save and Close the Job
The EXE exists on a mapped drive
- Create a JAMS Job using the Command Execution method
- Choose the user account that has permissions to run executables on the given server.
- 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.
- Ensure Edit the Job definition after adding is checked, then click Finish.
- Select Properties, then open the Submit Options.
- 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.
- Save and Close the Job
Comments