action-timeout

For an implementation of an event-handler profile, specifies the maximum number of minutes to wait for an action-script to complete execution. If the action-timeout expires, then script execution ends.

Syntax

action-timeout minutes
no action-timeout

Command Default

No action timeout is defined.

Parameters

minutes
Specifies the number of minutes to wait for an action-script to complete execution. If you specify "0", no timeout is set. Valid timeout values are any positive integer.

Modes

Event-handler activation mode

Usage Guidelines

To restore the default setting of no timeout, enter the no form of this command.

Examples

The following example specifies an action timeout of 30 minutes.

device# configure terminal
device(config)# event-handler activate eventHandler1
device(config-activate-eventHandler1)# action-timeout 30