Does the requirement mandate that it be done in an AL instead of a filter?  
I've found it easier to get things to run via Run Process in a filter instead 
of an AL.

Dustin Fawver
Sr. Help Desk Technician
Information Technology Services

P: 423-439-4648
[email protected]
[1489002992830_itslogo.png]


________________________________
From: Action Request System discussion list(ARSList) <[email protected]> on 
behalf of Abhishek Anand <[email protected]>
Sent: Wednesday, September 13, 2017 4: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<http://www.arslist.org>
"Where the Answers Are, and have been for 20 years"

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

Reply via email to