HP Systems Insight Manager 5.3 Command Line Interface reference guide

Example 6
To run the existing task
test_task
, enter mxtask -e test_task.
Example 7
To change ownership for the existing task
test_task
to
comp/test_user
, enter mxtask -o test_task
comp/test_user. The specified task owner must have the format MachineName/User.
Example 8
To create a task named
task1
with the associated query
query1
and tool
toolexample
that already exists in
the database, with the task type
add
, enter mxtask -c task1 -q query1 -t toolexample -w
Tadd.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
Example 9
To create a task named
task1
with the associated query
query1
and tool
toolexample
that already exists in
the database, with the task type
remove
, enter mxtask -c task1 -q query1 -t toolexample -w
Tremove.
In this example, there are no tool (user) parameters required for the tool being specified, so -A and -f are
not required.
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.
Example 6 87