F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
81
• 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).
Examples
# Schedule a job to execute the batch file 1.bat in system view in 60 minutes (assuming that the current
time is 11: 4 3 ) .
<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: 4 3 ) .
<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.
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.