191
Examples
# Schedule a job to execute the batch file
1.bat
in system view in 60 minutes (assuming that the current
time is 11:43).
<Sysname> schedule job delay 60 view system execute 1.bat
Info: Command execute 1.bat in system view will be executed at 12:43 10/31/2007 (in 1 hours
and 0 minutes).
# Schedule a job to execute the batch file
1.bat
in system view at 12:00 (assuming that the current time
is 11:43).
<Sysname> schedule job at 12:00 view system execute 1.bat
Info: Command execute 1.bat in system view will be executed at 12:00 10/31/2007 (in 0 hours
and 16 minutes).
schedule reboot at
Use
schedule reboot at
to schedule a device reboot to occur at a specific time and date for all IRF
member devices.
Use
undo schedule reboot
to disable the scheduled reboot function.
Syntax
schedule reboot at
hh:mm
[
date
]
undo schedule reboot
Default
The scheduled reboot function is disabled.
Views
User view
Default command level
3: Manage level
Parameters
hh:mm
: Specifies a reboot time, in the hh:mm format. The
hh
value ranges from 0 to 23, and the
mm
value ranges from 0 to 59.
date
: Specifies a reboot date, 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.
Usage guidelines
CAUTION:
•
Device reboot can interrupt network services.
•
Changing any clock setting can cancel the reboot schedule.
The interval between the reboot date and the current date cannot exceed 30 x 24 hours, or 30 days.
When no reboot date is specified:
•
If the reboot time is later than the current time, a reboot occurs at the reboot time of the current day.
•
If the reboot time is earlier than the current time, a reboot occurs at the reboot time the next day.