What happens if you run the plink command in a CMD window on the server?

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Abhishek Anand
Sent: Wednesday, September 13, 2017 3:03 AM
To: [email protected]
Subject: Can we call shell script on remote server via AL run process command?

Hi Experts,

Please could you assist in below scenario:-


Requirement is  stated as below:-
 
1. On the change in Status of a field to CLOSE in one of the form , it should 
trigger a script residing in a remote unix box.


I am using below logic:-
 
Created an AL with Run process Command Line as shown below:-
@@: c:/test.bat <BMC Remedy Form Name>_"$Request ID$"
 
Also test.bat consist of the below lines:-
 
D:\putty\plink.exe <remote server hostname> /usr/opt/xxx/Runtime/test.sh CLOSE 
"%1"
 
Remote server script path - /usr/opt/xxx/Runtime/test.sh
 
The unix box as well as script is accessible via putty on the windows box where 
remedy is installed.
 
But its not working.

 
Early response will be highly appreciated.
 
Regards,
AA

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to