Administrator Guide

script execute (CONFIGURATION mode)
Schedule the scripts to run across reloads.
S4810, S4820T, S5000, S6000, Z9000, Z9500 and MXL Switch
Syntax
script execute script-name [start {at date-time | after time}]
[stop {at date-time | after time}] [watch] [arguments
arg[..arg]] [username username]
To cancel the script execution, use the no script execute command.
Parameters
script-name
Enter the name of the script to schedule for execution.
start
(Optional) Enter the keywords start to begin executing the
script.
start at
date-time
(Optional) Enter the keywords start at then the time and
date either in HH:MM-MM/DD/ YY format to begin executing
the script at a specific time and date or in HH:MM format to
begin the script at the specified time on the same day (if the
mentioned time is elapsed, the script runs on the next day
HH:MM mentioned). The date can be the present or a future
date.
start after
date-time
(Optional) Enter the keywords start after then the time
in [HHHH:] MMMM format to begin executing the script after
a set time.
stop at
date-time
(Optional) Enter the keywords stop at date-time with
the time and date either in HH:MM-MM/DD/YY format to
stop executing the script or in HH:MM format to stop the
script at the specified time on the same day. The date must
be a future date.
stop after
time
(Optional) Enter the keywords stop after time then the
time in [HHHH:] MMMM 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
(Optional) Enter the keyword watch to monitor the script.
args
arguments
(Optional) Enter the keyword args then the arguments
script. The maximum length is 64 characters. The arguments
can be any number of words within quotes and separated by
a space.
username
username
(Optional) Enter the username to use when the script
executes. The maximum length is 16 characters. The default
username is the user configuring the CLI.
Smart Scripting CLI
87