If your job runs a C shell script, you can customize the runtime environment by specifying a specific environment for the script.
To customize the runtime environment for a C shell script, do the following:
Example: Customize the Runtime Environment for a C Shell Script
In this example, the agent picks up the environment for user root and runs the /home/bin/.login file before running the cmd1.csh C shell script.
AGENT SUN30 SCRIPTNAME /home/guest/bin/cmd1.csh ENVAR HOME=/home/bin/
In this example, the agent is running as root. (Note that the login shell for root is not the C shell.)
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|