When defining a job, the agent usually requires the full path to the command or script name you want to run. However, you can specify the command or script name without the full path if all of the following conditions are met:
Note: To configure the agent to search for paths, ask your agent administrator to refer to the information about the oscomponent.lookupcommand parameter in the CA Workload Automation Agent for UNIX, Linux, or Windows Implementation Guide.
Example: Specify a Script Name Without the Full Path
In this example, an agent named WINAGENT runs a script named procscript.bat. The path to procscript.bat is set in the system path on the agent computer and the agent is configured to search for paths to command and script files.
AGENT WINAGENT CMDNAME procscript.bat
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|