Owner's Manual

Smart Scripting CLI | 87
Defaults
The script runs in the foreground.
Command Modes
EXEC
Command
History
Usage
Information
All times selected follow the system time of the switch. The maximum number of
scripts to configure is 100. An error message displays when you exceed the limit.
script execute watch (EXEC mode)
Z9000
MXL Switch
Monitor or supervise the scheduled scripts.
Syntax
script execute script-name watch start {now | time-date | time} [args arguments]
[username username] [bg]
Parameters
Defaults
The script runs in the foreground.
Command Modes
EXEC
Command
History
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.
script-name Enter the name of the script to be scheduled for execution.
watch Enter the keyword watch to monitor the script.
start now Enter the keywords start now to begin executing the script.
start time-date Enter the keywords start time-date 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 keywords start with the time in HH:MM format to begin
executing the script after a set time.
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.
bg Enter the keyword bg to schedule scripts to run in the background.
Version 9.3(0.0) Introduced on the S6000.
Version 9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL Switch.