Using The Command Scheduler - Cisco 11503 - CSS Content Services Switch Administration Manual

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 8
Using the CSS Scripting Language

Using the Command Scheduler

Note
OL-5647-02
You can schedule the execution of CLI commands to schedule periodic content
replication, the gathering of statistics, and scheduled configuration changes. Use
the cmd-sched command to configure the scheduled execution of any CLI
commands, including playing scripts. The commands that will be executed are
referred to as the command string. To schedule commands, you must create a
configuration record; the record includes the command string and a provision
about when to execute the commands.
At the specified time, the command scheduler executes a command string by
creating a pseudo-login shell where each string is executed. A cmd-sched record
is scheduled for execution only upon completion of its shell. Use the show lines
command to display information about active pseudo-shells.
To terminate the execution of a command string, use the disconnect command.
The syntax and options for this global configuration mode command are:
cmd-sched - Enable command scheduling.
cmd-sched record name minute hour day month weekday "commands..."
{logfile_name} - Create a configuration record for the scheduled execution of
any CLI commands, including the playing of scripts.
The variables are listed below. When entering minute, hour, day, month, and
weekday variables, you may enter a single integer, a wildcard (*), a list separated
by commas, or a range separated by a dash (-).
name - The name of the configuration record. Enter an unquoted text string
with a maximum of 16 characters.
minutes - The minute of the hour to execute this command. Enter an integer
from 0 to 59.
hour - The hour of the day. Enter an integer from 0 to 23.
day - The day of the month. Enter an integer from 0 to 31.
month - The month of the year. Enter an integer from 1 to 12.
weekday - The day of the week. Enter an integer from 1 to 7. Sunday is 1.
Cisco Content Services Switch Administration Guide
Using the Command Scheduler
8-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents