Cisco Cisco Workload Automation 6.3 Guide Du Développeur
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
36
Command Descriptions
file
The following example deletes all file dependencies running on the agent
Windows Agent
for job alias
payroll.
SACmd depdel -a payroll -t FILE -h “Windows Agent”
The following command deletes all job dependencies with the alias
holiday that job alias payroll depends on.
SACmd depdel -a payroll -d holiday -t JOB
file
Warning:
Always enclose arguments containing spaces in quotes, or the command will not execute successfully.
For example, if the Program Files folder is included in a path statement as an argument, the entire path must be
enclosed by quotes.
enclosed by quotes.
The
file command lets you pipe an input ascii text file containing CWA commands for batch processing.
Syntax
SACmd file file_name
Note:
Specify the full, absolute directory path to your file.
Operation
The file should contain a list of individual commands, with each command separated by a carriage return (one command
per line).
per line).
For example:
# this is just a test script
listrule
jobmon +iaE
jobadd -a payroll
To add comments to the text file, precede the comment with two forward slashes ( // ) or with the sharp ( # ) sign. The
file command ignores any line beginning with two forward slashes or the sharp sign. Any line composed entirely of
spaces or tabs is also ignored.
file command ignores any line beginning with two forward slashes or the sharp sign. Any line composed entirely of
spaces or tabs is also ignored.
If a command in the list produces an error, that command is skipped, but the remaining lines are processed.
Example
The following example inputs the file cmdlist.txt to the
file command. cmdlist.txt contains a list of CWA commands
to process.
SACmd file cmdlist.txt
grpupd
The
grpupd command updates inherit attributes for jobs in the specified group. You can obtain the group's job run ID by
using the
jobmon command.
Syntax
SACmd grpupd -i ID -a