Syntax
event_completion status ?
Arguments
(Mandatory) Exit status (return_code) of this event
instance. A value of zero indicates no error and any
other integer value indicates an error.
status
Result String
None
Set _cerrno
No
event_completion_with_wait
The event_completion_with_wait command combines the two commands event_completion and event_wait
into a single command for ease of use.
The event_completion command sends a notification to the EEM server that the policy is done servicing the
event that triggered it. The event only takes a single argument which is the return_code of this event instance.
The event_wait places the Tcl policy into a sleep state. When the Tcl policy receives a new signal announcing
a new event, the policy is placed into a wake state and again returns to a sleep state. This loop continues. If
event_wait policy is invoked before event_completed policy, an error results and the policy exits.
Syntax
event_completion_with_wait status ? [refresh_vars]
Arguments
(Mandatory) exit_status (return_code) of this event
instance. A value of zero indicates no error. Any other
integer value indicates an error.
status
(Optional) Indicates whether built-in and environment
variables should be updated (refreshed) from the EEM
Policy Director during this event instance.
refresh_vars
Result String
None
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1978
event_completion_with_wait