Cisco Cisco Workload Automation 6.3 Developer's Guide

Page of 64
38
Command Descriptions
hosts
Syntax
historyPurge [date1 [date2]]
historyPurge -options
Operation
Use the following format when specifying the 
date1 and date2 options:
YYYYMMDD
If only one date option is specified then both the logs data and the job history are deleted. If both the 
date1 and date2 
options are specified then both the logs and the job history are deleted but different dates can be assigned for purging 
these two types of data.
If no option denoting a date is used than both log data and job history is deleted starting from the current date.
Example
The following example deletes the log data for all jobs that ran on February 1, 2006 and earlier and deletes the job history 
for all jobs that ran on February 15, 2006 and earlier.
tesmcmd historyPurge 20060101 20060215
The following example deletes both the log data and job history for all jobs that ran on February 1, 2006 and earlier.
tesmcmd historyPurge 20060101 
hosts
The
 
hosts command lists information about all CWA hosts defined in CWA.
Syntax
SACmd host[s] [-b]
hosts -options
inactrule
The 
inactrule command inactivates, or disables, a job or job group. When a job or job group is inactivated, its 
occurrences (if any) are pulled from the production schedule.
Option
Description
date1
Logs from the specified date and older are deleted.
date2
Job history from the specified date and older is deleted.
Option
Description
-b
Suppresses the header information.