Terry,

You are correct in that we were unable to execute the script by issuing the 
command /abc/def/ghi/ksh shellscript.ksh. We had to get directly to the ghi 
directory before the ksh shellscript.ksh would execute. We will only be looking 
to run the escalation once or twice a day. Would it be any better to set a 
field via an escalation and running the script using a filter?

Thanks,

Roger A Nall
Sr. Remedy Developer

7668 Warren Parkway
Frisco, TX 75034
Desk: 972-464-3162
Cell: 973-652-6723

“You will get all you want in life, if you help enough other people get with 
they want”

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, October 23, 2013 9:43 AM
To: [email protected]
Subject: Re: Execute shell script

**
It's probably something associated to your environment variables.

Try this:

- Log into the server as the same userid that is running arsystem (usually 
'root' for *nix)
- Issue the command '/abc/def/ghi/ksh shellscript.ksh'  (instead of just 
./shellscript.ksh)
- See if it still runs.  I suspect that there are path issues associated with 
the default korne shell that aren't allowing you to run.

Also, be very careful when running scripts via Escalations.  The last thing you 
want are 100's of shell scripts running concurrently on your server and 
bringing the system to a halt.  You should also consider whether your script 
behaves properly if multilple instances of it are running concurrently.

HTH.

Terry



on Oct 23, 2013, Nall, Roger 
<[email protected]<mailto:[email protected]>> wrote:
**
ARS – 7.1 sp4
Oracle 10g
AIX

We are trying to execute a shell script from an escalation. Our command line 
looks like this
/abc/def/ghi/ksh shellscript.ksh

The escalation fires however nothing happens. We are able to log into the box 
as aradmin and execute the script just fine but not from Remedy. I was 
wondering if anyone has any suggestions as to what we may be missing.

Thanks,

Roger A Nall
Sr. Remedy Developer

7668 Warren Parkway
Frisco, TX 75034
Desk: 972-464-3162
Cell: 973-652-6723

“You will get all you want in life, if you help enough other people get with 
they want”;

_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"

Reply via email to