Cisco Cisco Workload Automation 6.3 Developer's Guide

Page of 64
30
Command Descriptions
delrule
Operation
If only the 
-f option is supplied, the range of compile dates is from the specified begin_date to today. If only the -t 
option is supplied, the range of compile dates is from today to the 
end_date specified. When no option is supplied, the 
compilation is for today. Dates must always be in the format 
YYYYMMDD.
Within the date field, you can also include the time. When entering the time, you must always enter it in the format defined 
in the Windows Regional Settings Control Panel. Dates and times are displayed as configured by the date/time settings 
in this control panel.
Examples
The following example compiles today’s production schedule only.
SACmd compile
The following example compiles the production schedule from December 5, 2010 to today.
SACmd compile -f 20101205
The following example compiles the production schedule from today to January 5, 2010.
SACmd compile -t 2010 105
The following example compiles the production schedule for December 6 to December 10, 2010.
SACmd compile -f 20101206 -t 20101210
delrule
Warning: 
Always enclose arguments containing spaces in quotes, or the command will not execute successfully. 
For example, if the folder 
Program Files
 is included in a path statement as an argument, the entire path must be 
enclosed by quotes.
The
 
delrule command deletes a job or job group definition. You can either specify the alias or the ID of the job or job 
group.
Syntax
delrule -a alias|-i ID
delrule -options
Operation
You can use the
 
listrule command to obtain job rule IDs.
Examples
The following command deletes the job definition with the alias name 
invent.
Option
Description
-a alias
Specifies the alias name of the job or job group to delete. Either this option or the 
-i ID 
option is required.
-i ID
Specifies the identification number of the job to delete. Either this option or the 
-a alias 
option is required.