Administrator Guide

Smart Scripting CLI | 89
The script runs in the background.
Command Modes
CONFIGURATION
Command
History
Usage
Information
All times selected follow the system time of the switch. The maximum number of
scripts to execute is 100. An error message displays when you exceed the limit.
If the supervised scripts exit (normally or in an unexpected manner):
Within 10 minutes from the start, the supervised script(s) is restarted (three
retries).
start time-date Enter the keyword start with the time and date in HH:MM-MM/DD/
YY format to begin executing the script at a specific time. The date
can be the present or a future date.
start time Enter the keyword start with the time in HH:MM format to begin
executing the script after a set time.
repeat weekdays
weekday
Enter the keywords repeat weekdays to schedule the script to
repeat executing on specific days of the week. Select one of the
following values: mon, tue, wed, thu, fri, sat, sun, and all.
repeat days day Enter the keywords repeat days followed by the day of the month
to schedule how often to repeat the script execution. The range is
from 1 to 31. Select one value only. For example, 1 for every first
day of the month, 10 for every 10th day of the month.
repeat minutes minutes Enter the keywords repeat minutes followed by the number of
minutes to schedule how often to repeat the script execution. The
range is from 1 to 1440. Select one value only. For example, select
20 to repeat every 20 minutes, 60 for repeating once every hour.
stop at time/date (Optional) Enter the keywords stop at with the time and date in
HH:MM-MM/DD/YY format to stop executing the script. The date
must be a future date.
stop after time (Optional) Enter the keywords stop after followed by the time in
HH:MM format to indicate the time after which the script stops
executing. For example, “stop after 00:30” indicates to stop the script
execution 30 minutes after the start time.
watch Enter the keyword watch to monitor the script.
args arguments Enter the keyword args followed by the arguments to be scripted.
The maximum length is 64 characters. The arguments can be any
number of words within quotes (“) and separated by a space.
username username Enter the username to be used when the script executes. The
maximum length is 16 characters. The default username is the user
configuring the CLI.
Version 9.6(0.0) Introduced on the S5000.
Version 9.5(0.1) Introduced on the Z9500.
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.