HP Systems Insight Manager 7.1 Command Line Interface Guide

Example 10
To create a task named task1 with the associated query query1 and tool toolexample that already
exists in the database, with the task type manual, enter mxtask -c task1 -q query1 -t
toolexample -w Tmanual.
In this example, there are no tool (user) parameters required for the tool being specified, so -A
and -f are not required.
Example 11
To create task1, which runs every 30 minutes, 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.Iminutes.P30.
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.
mxtask 111