Yes I can access the specified script from putty on Remedy server as well, also user is having admin access in Remedy n server as well.
But still no luck also I believe calling bat file in Al or filter require some specific format which I am missing. On 13-Sep-2017 8:32 PM, "LJ LongWing" <lj.longw...@gmail.com> wrote: > ** > So, if it works fine from command line on the server, but not from > Remedy....you then need to start the troubleshooting there.....when you are > executing it on the server, are you logged onto the server as the user that > Remedy is logged in as? Are you executing the command line in a fashion > that works no matter the folder you are in, so in short...is everything > fully qualified as far as paths and such go to ensure that nothing is > getting lost in translation....ensure that the user that Remedy is running > as has permissions to the folders in question and can execute what's being > requested.... > > On Wed, Sep 13, 2017 at 10:06 AM, Abhi$hek <abhi.masc...@gmail.com> wrote: > >> ** >> If trying via plink on CMD line it's working fine but not working via AL >> or filter. Please suggest. >> >> On 13-Sep-2017 5:56 PM, "Grooms, Frederick W" <frederick.w.gro...@xo.com> >> wrote: >> >>> 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: >>> arslist@ARSLIST.ORG] On Behalf Of Abhishek Anand >>> Sent: Wednesday, September 13, 2017 3:03 AM >>> To: arslist@ARSLIST.ORG >>> 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" >>> >> _ARSlist: "Where the Answers Are" and have been for 20 years_ > > > _ARSlist: "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"