![Cisco ASR 9000 Serie Скачать руководство пользователя страница 136](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679136.webp)
but policyA (although it does not need to be a timer policy) uses register_timer, timer_arm, or timer_cancel
Tcl command extensions to manipulate the timer referenced in policyB.
Syntax
event_register_timer_subscriber watchdog|countdown|absolute|cron
name ? [queue_priority low|normal|high] [maxrun ?] [nice 0|1]
Arguments
(Mandatory) Watchdog timer.
watchdog
(Mandatory) Countdown timer.
countdown
(Mandatory) Absolute timer.
absolute
(Mandatory) CRON timer.
cron
(Mandatory) Name of the timer.
name
(Optional) Priority level at which the script will be
queued; normal priority is greater than low priority
but less than high priority. The priority here is not
execution priority, but queuing priority. If this
argument is not specified, the default priority is
normal.
queue_priority
(Optional) Maximum run time of the script (specified
in SSSSSSSSSS[.MMM] format, where SSSSSSSSSS
must be an integer representing seconds between 0
and 4294967295, inclusive, and where MMM must
be an integer representing milliseconds between 0
and 999). If this argument is not specified, the default
20-second run-time limit is used.
maxrun
(Optional) Policy run-time priority setting. When the
nice argument is set to 1, the policy is run at a
run-time priority that is less than the default priority.
The default value is 0.
nice
An EEM policy that registers for a timer event or a counter event can act as both publisher and subscriber.
Note
Result String
None
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
120
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Event Registration Tcl Command Extensions