kron policy-list

To specify a name for a Command Scheduler policy and enter the kron-Policy List configuration submode, use the kron policy-list command in Configuration mode. To delete a Command Scheduler policy, use the no form of this command.

kron {policy-list} list-name

Syntax Description

kron

The command to schedule the Command Scheduler commands.

policy-list

Specifies a name for Command Scheduler policies.

list-name

Name of the policy list. Supports up to 80 alphanumeric characters.

Note After you enter the list-name in the kron policy-list command, you enter the config-Policy List configuration submode (see the following Syntax Description).

cli

Command to be executed by the scheduler. Supports up to 80 alphanumeric characters.

do

EXEC command. Allows you to perform any EXEC commands in this mode (see “do”).

end

Exits from the config-Policy List configuration submode and returns you to the EXEC mode.

exit

Exits this submode.

no

Negates the command in this mode. One keyword is available:

 • cli—Command to be executed by the scheduler.

Defaults

No default behavior or values.

Command Modes

Configuration

Usage Guidelines

Use the kron policy-list command in conjunction with the cli command to create a Command Scheduler policy that contains the EXEC CLI commands to be scheduled to run on the CDA server at a specified time. Use the kron occurrence and policy list commands to schedule one or more policy lists to run at the same time or interval. See the “ip route”.

Examples

/admin(config)# kron policy-list SchedBackupMonday

/admin(config-Policy List)# cli backup SchedBackupMonday repository SchedBackupRepo

/admin(config-Policy List)# exit

/admin(config)#

Related Commands

Command

Description

ip route

Specifies schedule parameters for a Command Scheduler occurrence and enters the config-Occurrence configuration mode.