101
Comparison item
Applicable range
Small
Large
Configuration
Simple
Only the
schedule job
command is
involved.
Complex
The
job
,
view
, and
time
commands
are involved.
Can multiple scheduled
tasks be configured?
No Yes
Can a task contain
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 task be repeatedly
executed?
No
Yes
Can a task be saved?
No
Yes
NOTE:
•
The system does not check whether input
view and command arguments are correct. You must ensure
their correctness. Otherwise, the specified commands in the scheduled task cannot be executed.
•
The system does not require your confirmation when it is executing a scheduled task. If there is
information for you to confirm, 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.
•
Execution of any command that changes the user interface (such as
telnet
,
ftp
, or
ssh2)
, the view (such
as
system-view
or
quit)
, or the user status (such as
super)
in a scheduled task does not change, the
configuration interface, view, and status of the current user.
•
When the specified time is reached, the system executes the specified command in the background
without displaying any prompt information except system information such as log, trap and debugging
information.