Configuring a scheduled task—approach 1, Configuring a scheduled task—approach 2, Configuring a scheduled – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 197: Task—approach 1, Task—approach 2

Advertising
background image

182

Comparison item

Configuring a scheduled

task—approach 1

Configuring a scheduled

task—approach 2

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.

Configuring a scheduled task—approach 1

Follow these steps to configure a scheduled task:

To do…

Use the command…

Remarks

Specify a
command to be

executed at the
specified time

schedule job at time [ date ] view view
command

Required
Use either command
Available in user view

If you use the schedule job at command,

changing the system time will change the
execution time of the scheduled task.

If you use the schedule job delay

command, changing the system time will
not change the execution time of the

scheduled task.

Specify a
command to be
executed after the

specified delay

schedule job delay time view view
command

Configuring a scheduled task—approach 2

Follow these steps to configure a scheduled task:

To do…

Use the command…

Remarks

Enter system view

system-view

Advertising