195
•
time1
: Sets time to execute the command, in the
hh:mm
format. The
hh
value ranges from 0 to 23,
and the
mm
value ranges from 0 to 59.
•
date
: Sets the date to execute the command, in the
MM/DD/YYYY
or
YYYY/MM/DD
format. The
YYYY
value ranges from 2000 to 2035, the
MM
value ranges from 1 to 12, and the
DD
value
ranges from 1 to 31.
delay
time2
: Runs the job after a delay. The
time2
argument specifies the delay in one of the following
formats:
•
hh
:
mm
format—The
hh
value ranges from 0 to 720, and the
mm
value ranges from 0 to 59. When
the
hh
value is 720, the
mm
value cannot be more than 0.
•
mm
format—It ranges from 0 to 432000 minutes, with 0 indicating that the command is executed
immediately.
view
view
: Specifies the view in which the command is executed. The
view
argument represents the view
name, and it can take only one of the following keywords:
•
shell
—Represents user view.
•
system
—Represents system view.
command
: Command to execute.
Description
Use the
schedule job
command to schedule a job in the non-modular approach.
Use the
undo schedule job
command to remove the scheduled job.
You can schedule a job to automatically run a command or a set of commands without administrative
interference. The commands in a job are polled every minute. When the scheduled time for a command
is reached, the job automatically executes the command. If a confirmation is required while the
command is running, the system automatically enters
Y
or
Yes
. If characters are required, the system
automatically enters a default character string or an empty character string when no default character
string is available.
Follow these guidelines when you schedule a job in the non-modular approach:
•
You can schedule only one job and run only one command in this approach. If you perform the
schedule job
command multiple times, the last configuration takes effect.
•
To have the command successfully executed, check that the specified view and command are valid.
The system does not verify their validity.
•
If you specify both the
time1
and
date
arguments, the execution time or date must be later than the
current system time or date.
•
If you specify the
time1
argument, but not the
date
argument:
{
When
time1
is earlier than the current system time, the command runs at
time1
the next day.
{
When
time1
is later than the current system time, the command runs at
time1
of the current day.
•
The interval between the scheduled time and the current system time cannot exceed 720 hours, or
30 days.
•
Changing any clock setting can cancel the job set by using the
schedule job
command.
•
After job execution, the configuration interface, view, and user status that you have before job
execution restore even if the job has run a command that changes the user interface (for example,
telnet
,
ftp
, and
ssh2
), the view (for example,
system-view
and
quit
), or the user status (for example,
super)
.
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...