Chapter 8 Using the CSS Scripting Language
Using the Command Scheduler
8-4
Cisco Content Services Switch Administration Guide
OL-5647-02
• command - The commands you want to execute. Enter a quoted text string
with a maximum of 255 characters. Separate multiple commands with a
semicolon (;) character. If the command string includes quoted characters,
use a single quote character; any single quoted characters not preceded by a
backslash (\) character is converted to double quotes when the command
string is executed.
• logfile_name - An optional variable that defines the name of the log file. Enter
a text string with a maximum of 32 characters.
Any of the time variables can contain one or some combination of the following
values:
• A single number to define a single or exact value for the specified time
variable.
• A wildcard (*) character matching any valid number for the specified time
variable.
• A list of numbers separated by commas, with a maximum of 40 characters, to
define multiple values for a time variable.
• Two numbers separated by a dash (-) character indicating a range of values
for a time variable.
For example:
(config)# cmd-sched record periodic_shows 30 21 3 6 1 “show
history;show service;show rule;show system-resources”
To enable command scheduling, enter:
(config)# cmd-sched
To disable command scheduling, enter:
(config)# no cmd-sched
To delete a configuration record, enter:
(config)# no cmd-sched periodic_shows