HP Systems Insight Manager 6.0 Command Line Interface Guide

In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 12
To create
task1
, which runs every 12 hours, with the associated query
query1
and tool
toolexample
that
already exists in the database, with the task type
schedule
, enter mxtask -c task1 -q query1 -t
toolexample -w Tschedule.Ihours.P12.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 13
To create
task1
, which runs every 2 weeks on Sunday at 2:00 AM, with the associated query
query1
and
tool
toolexample
that already exists in the database, with the task type
schedule
, enter mxtask -c task1
-q query1 -t toolexample -w Tschedule.Iweeks.P2.Dsunday.M2:00.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 14
To create
task1
, which runs every month on the 15th at 5:00 AM, with the associated query
query1
and
tool
toolexample
that already exists in the database, with the task type
schedule
, enter mxtask -c task1
-q query1 -t toolexample -w Tschedule.Imonths.P1.D15.M5:00.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 15
To create
task1
, which runs every 7 days on Tuesday at 6:00 PM, with the associated query
query1
and
tool
toolexample
that already exists in the database, with the task type
schedule
, enter mxtask -c task1
-q query1 -t toolexample -w Tschedule.Idays.P7.Dtuesday.M18:00.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 16
To create
task1
, which runs every Saturday at 1:00 AM, with the associated query
query1
and tool
toolexample
that already exists in the database, with the task type
schedule
, enter mxtask -c task1 -q
query1 -t toolexample -w Tschedule.Idaily.Dsaturday.M1:00.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 17
To create
task1
, which runs once at the specified date (mm/dd/yy) and time (hh:mm), with the associated
query
query1
and tool
toolexample
that already exists in the database, with the task type
schedule
, enter
mxtask -c task1 -q query1 -t toolexample -w Tschedule.Irunonce.D01/02/03.M1:00.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 18
To create
task1
, with the associated query
query1
and tool
toolexample
that already exists in the database,
with the task type
add
, and the tool parameter data specified in c:\params.xml, enter mxtask -c
task1 -q query1 -t toolexample -w Tadd -f c:\params.xml.
Tool parameters are specified with -f. The filename specifies the path and name of a file that contains the
tool (user) parameter data for the specified tool. The tool parameter data contained in this file must be of
the exact same XML format as stored in the HP SIM database.
Example 12 93