4-27
Use the
undo schedule job
command to remove the configuration.
Note the following:
z
If you provide both the
time1
and
date
arguments, the execution time must be a future time.
z
If you only provide the
time1
argument, when
time1
is earlier than the current system time, the
specified command is executed at
time1
of the next day; when
time1
is later than the current
system time, the specified command is executed at
time1
of the current day.
z
No matter whether you use the
at
or
delay
keyword, the difference between the execution time of
a command and the current system time cannot exceed 720 hours (namely, 30 days).
z
At present, you can specify only user view and system view. To automatically execute the
specified commands in other views or automatically execute multiple commands at a time, you
can configure the system to automatically execute a batch file at a specified time (note that you
must provide a complete file path for the system to execute the batch file.).
z
The system does not check the
view
and
command
arguments. Therefore, ensure the correctness
of the
command
argument (including the correct format of
command
and the correct relationship
between the
command
and
view
arguments.).
z
After the specified automatic execution time is reached, the system executes the specified
commands without displaying any information except system information such as log, trap and
debug.
z
When the system is executing the specified command, you do not need to input any information. If
there is information for you to confirm, the system automatically inputs
Y
or
Yes
; if certain
characters need to be input, the system automatically inputs a default character string, and inputs
an empty character string when there is no default character string.
z
For the commands used to switch user interfaces, such as
telnet
,
ftp
, and
ssh2
, the commands
used to switch views, such as
system-view
,
quit
and
interface ethernet
, and the commands
used to modify status of the user that is executing commands, such as
super
, the operation
interface, command view and status of the current user are not changed after the automatic
execution function is performed.
z
If you modify the system time after the automatic execution function is configured, the scheduled
automatic execution configuration turns invalid automatically.
z
Only the latest configuration takes effect if you execute the
schedule job
command repeatedly.
Examples
# Configure that the device will execute the batch file
1.bat
in system view in 60 minutes (supposing
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).
# Configure that the device will execute the batch file
1.bat
in system view at 12:00 in the current day
(supposing 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
Syntax
schedule reboot at
hh:mm
[
date
]
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...