154
NOTE:
•
In an IRF fabric, the command applies to all IRF member switches.
•
If you execute the
schedule reboot at
command or the
schedule reboot delay
command repeatedly, the
last configuration takes effect.
•
If you change the system time by using the
clock datetime
,
clock summer-time
, or
clock timezone
command after you configure a scheduled reboot, the scheduled reboot configuration becomes invalid
automatically.
•
For data security, if you are performing file operations at the reboot time, the system does not reboot.
Scheduling jobs
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 inputs
Y
or
Yes
. If characters are required, the system
automatically inputs a default character string, or inputs an empty character string when there is no
default character string.
Job configuration approaches
You can configure jobs in a non-modular or modular approach. Use the non-modular approach for a
one-time command execution and use non-modular approach for complex maintenance work.
Table 16
A comparison of non-modular and modular approaches
Comparison item
Scheduling a job in the non-modular
Scheduling a job in the modular
Configuration method
Configure all elements in one command Separate job, view, and time settings
Can multiple jobs be
configured?
No Yes
Can a job have multiple
commands?
No
If you use the
schedule job
command
repeatedly, only the last configuration
takes effect.
Yes
You can use the
time
command in job
view to configure commands to be
executed at different time points.
Supported views
User view and system view. In the
schedule job
command, shell represents
user view, and system represents system
view.
All views. In the
time
command,
monitor represents user view.
Supported commands
Commands in user view and system view Commands in all views
Can a job be repeatedly
executed?
No
Yes
Can a job be saved to the
configuration file?
No
Yes