If your job runs a Bourne shell script, you can customize the runtime environment by specifying a specific environment for the script.
To customize the runtime environment for a Bourne shell script, do the following:
Note: The ENV variable only works for the Korn shell. The Korn shell is a superset of the Bourne shell. Anything that runs under the Bourne shell runs without modification under the Korn shell.
Example: Customize the Runtime Environment for a Bourne Shell Script
In this example, the agent runs the cmd1.sh Bourne shell script. Before running the script, the agent runs the following:
AGENT SUN30RD SHELL /bin/ksh SCRIPTNAME /home/bin/cmd1.sh USER guest ENVAR ENV=/esp/myenv
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|