This error means that the time specified to arm a timer was zero.
(_cerr_sub_err = 42)
This error means that the event was not registered.
(_cerr_sub_err = 54)
This error means that the event detector was unavailable.
(_cerr_sub_err = 56)
This error means that the EEM event detector that handles this request is not available.
timer_cancel
Cancels a timer.
Syntax
timer_cancel event_id ?
Arguments
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.
Note
A value of 0 will be returned for sec_remain and msec_remain if the timer type is CRON .
Set _cerrno
Yes
(_cerr_sub_err =
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 =
This error means that the event type specified in the internal event specification was invalid.
(_cerr_sub_err =
This error means that the application event detector info key or other ID was not found.
(_cerr_sub_err = 11)
FH_ENOTREGISTERED
FH_EFDUNAVAIL
FH_EFDCONNERR
2)
FH_ESYSERR
(generic/unknown error from OS/system)
6)
FH_EBADEVENTTYPE
7)
FH_ENOSUCHKEY
FH_ENOSUCHESID
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
(request for event spec that is unregistered)
(connection to event detector unavailable)
(event detector connection error)
(Mandatory) The timer event ID returned by the
register_timer command extension. Must be an
integer between 0 and 4294967295, inclusive.
(unknown EEM event type)
(could not find key)
(unknown event specification ID)
timer_cancel
2019