HP Systems Insight Manager 5.3 Command Line Interface reference guide

-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>
The T parameter signifies the task type and is required in all type/schedule parameterized strings. Valid
[tasktype]
values are
add
,
remove
,
manual
or
schedule
. These task type values determine what type source
triggers the task to run.
Tadd. Task runs when systems or events meet the list criteria.
Tremove. Task runs when systems or events no longer meet the list criteria.
Tmanual. Task runs when manually invoked.
Tschedule. Task runs according to a periodic/day/time schedule.
The I parameter signifies the interval type and is required when the T task type value is schedule. Valid
intervaltype values are
minutes
,
hours
,
days
,
weeks
,
months
,
daily
, or
runonce
.
Tschedule.Iminutes. Task runs every
x
minutes.
Tschedule.Ihours. Task runs every
x
hours.
Tschedule.Iweeks. Task runs every
x
weeks at specified day/time.
Tschedule.Imonths. Task runs every
x
months at specified day/time.
Tschedule.Idaily. Task runs once a day at specified time.
Tschedule.Irunonce. Task runs once at specified date/time.
The P parameter signifies the periodic interval (how often the task will run) and is required when the T task
type value is schedule. Valid periodic values (n) are any numeric values greater than zero. For example:
Tschedule.Iminutes.Pn.
The D parameter can signify a day or date value and is required when the T task type value is
schedule
and
the I interval type is weeks, months or runonce. Valid day|date values depend on the specified interval
type. If the interval type is
weeks
, the valid day values are
Sunday
,
Monday
, etc. If the interval type is months,
the valid day value is a numeric value in the range of 1-31. If the Interval type is
runonce
, the valid date
value is mm/dd/yy.
Tschedule.Iweeks.Pn.Dfriday
Tschedule.Imonths.Pn.D1
Tschedule.Irunonce.Dmm/dd/yy
The M parameter signifies a time value and is required for all valid interval types except
minutes
and hours.
This parameter defines the time at which the task will run and is specified in 24 hour format as follows.
Tschedule.Iweeks.P2.Dfriday.M1:00
mxtask 85