Execution environment
This command can be run on an operation management client.
Privileges required for execution
The privileges of a user belonging to the "Administrators" group are required to execute this command.
Note
To execute this command under Windows Vista(R)/Windows(R) 7/Windows(R) 2008 environment, execute with the administrator privilege. Select [Start] button of Windows, [All Programs], [Accessories], [Command prompt], and select [Run as administrator] of the right click menu, and then execute this command.
To execute this command by registering it with Task Scheduler for the Windows Vista(R)/Windows(R) 7/Windows(R) 2008 environment, select the General tab of the Properties window for the task to be registered, and then select the Run with highest privileges checkbox.
Function
This command is used to delete scheduled reports that are older than the number of days for which reports are to be stored. If this command is registered with the scheduler, it will delete scheduled reports automatically.
Syntax
sqcDeleteReport -c console_define -d retention_days -w retention_days -m retention_days |
Options
Specifies the console definition name for the report to be deleted. This parameter cannot be omitted.
Specifies the number of days (0 to 1500) to store daily reports.
Specifies the number of days (0 to 1500) to store weekly reports.
Specifies the number of days (0 to 1500) to store monthly reports.
Point
If the number of days to store reports is set to 0, no reports in the specified report format will be deleted.
Reports that were created more than XX days before the command was executed will be deleted (where "XX" is the number of retention days).
Usage example
The following example shows the options used to specify a daily report storage period of 10 days, a weekly report storage period of 60 days and a monthly report storage period of 365 days.
> sqcDeleteReport -c DefaultConsole -d 10 -w 60 -m 365 |