HP Systems Insight Manager 6.3 Command Line Interface Guide

Create a new task. All required task configuration information must be specified in
an external file containing task-specific data in the predefined XML format. See the
mxtask(4) manpage for a detailed description of the required XML format.
-h
Display extended help for mxtask.
-q queryname
Specify the name of an existing query.
-w scheduleinfo
Specify task schedule data. scheduleinfo is a parameterized string that defines
the schedule data. See the schedule parameterized string format section for details
about the format for this string.
-t toolname
Specify the name of an existing tool. -A toolparms or -f toolparmsfile is required
if the specified tool requires additional user parameters.
-A toolparms
Specify the parameter data for a tool that requires user parameters. The tool
parameter string provided on the command line must be enclosed in double
quotation marks. If the tool parameter data includes XML data with embedded
double quote characters, each double quote character must be preceded by the
backslash character. This option is used with -c.
-f toolparmsfile
Specify the parameter data for a tool that requires user parameters. The tool
parameters for -f are provided in a specified XML file that contains the tool
parameters. This option is used with -c. (Create task)or –r (remove task).
-o taskowner
Specify a task owner for the new task that will be created. This optional value can
be used with the create task (-c) command. If no owner is specified, the currently
logged in user is assigned as the task owner.
-i timefiltername
Specify an existing time filter to associate with the task that will be created. This
optional value can be used with the create task (-c) command. If no time filter name
is specified, the new task will be created with no associated time filter.
-b encoding
Specify the character encoding of an XML file when used with -lf.
The schedule parameterized string format
When creating a new task on the command line with -c, the task type/schedule information is
required as a parameterized data string, and is preceded by the -w option character.
The schedule parameterized string has the general format shown below, and must begin with the
T (type) character. The parameterized string must not contain spaces, and the period character is
used as a parameter separator.
-w T<tasktype>.I<intervaltype>.P<periodic>.D<day|date>.M<time>
mxtask 107