HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)
removetask
DESCRIPTION
The removetask command removes information about one or more completed tasks and their
details.
SYNTAX
The syntax of the removetask command can be one of the following:
• removetask [options <arg>] –a
• removetask [options <arg>] –t <hours>
• removetask [options <arg>] <task_ID>...
AUTHORITY
• Super, Edit
• Any role granted the task_remove right.
OPTIONS
–a
Removes all tasks including details.
–d
Remove task details only.
–f
Specifies that the command is to be forced. You are not prompted for confirmation before the task
is removed.
–t <hours>
Removes tasks that have not been active within the past <hours>, where <hours> is an integer
from 1 through 240.
SPECIFIERS
<task_ID>...
Allows you to specify tasks to be removed using their task IDs.
RESTRICTIONS
None.
EXAMPLES
The following example shows how to remove a task based on the task ID.
cli% removetask 2
Remove the following tasks?
2
select q=quit y=yes n=no: y
removetask 251