Home > Configuration > NS > addnstimer

addnstimer

Use this method to create a Timer.

Syntax



Parameters

name

Timer name.
This is mandatory parameter.

interval

The frequency at which the policies bound to this timer are invoked. The minimum value is 20 msec. The maximum value is 20940 in seconds and 349 in minutes.
This is mandatory parameter.
Default value = 5.
Minimum value = 1.
Maximum value = 20940000.

unit

Timer interval unit
Default value = NSTMUNT_SEC.

comment

Comments associated with this timer.

Return Value

Returns simpleResult

See Also