Service Manual

This example illustrates that the script execution starts at 22:22 10/30/14
(MM/DD/YY) and stops after 1 hour and the script runs in the background.
script execute (CONFIGURATION mode)
Schedule the scripts to run across reloads.
S4810, S4820T, S3048–ON, S4048–ON, S5000, S6000, S6000–ON, Z9500,
C9010, and MXL
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 start running
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 start running 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 running 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 running. 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.
102
Smart Scripting CLI