![Cisco ASR 9000 Serie Configuration Manuals Download Page 181](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679181.webp)
timer_cancel
Cancels a timer.
Syntax
timer_cancel event_id ?
Arguments
(Mandatory) Timer event ID returned by the
register_timer
command extension. Must be an
integer between 0 and 4294967295, inclusive.
event_id
Result String
sec_remain %ld msec_remain %ld
Where sec_remain and msec_remain are the remaining time before the next expiration of the timer.
A value of 0 will be returned for sec_remain and msec_remain if the timer type is CRON.
Note
Set _cerrno
Yes
(_cerr_sub_err =
2)
FH_ESYSERR
(generic/unknown error from OS/system)
This error means that the operating system reported an error. The POSIX errno value that is reported with the
error should be used to determine the cause of the operating system error.
(_cerr_sub_err =
6)
FH_EBADEVENTTYPE
(unknown EEM event type)
This error means that the event type specified in the internal event specification was invalid.
(_cerr_sub_err =
7)
FH_ENOSUCHKEY
(could not find key)
This error means that the application event detector info key or other ID was not found.
(_cerr_sub_err = 11)
FH_ENOSUCHESID
(unknown event specification ID)
This error means that the event specification ID could not be matched when the event was being registered
or that an event detector internal event structure is corrupt.
(_cerr_sub_err = 12)
FH_ENOSUCHEID
(unknown event ID)
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
165
Configuring and Managing Embedded Event Manager Policies
Embedded Event Manager Utility Tcl Command Extensions