Scheduling a job in the modular approach, Scheduled job configuration example, Network requirements – H3C Technologies H3C SecPath F1000-E User Manual
Page 88: Scheduling a job in the modular, Approach

80
Task Command
Remarks
Schedule a job.
•
Schedule a job to run a
command at a specific time:
schedule job at time [ date ]
view view command
•
Schedule a job to run a
command after a delay:
schedule job delay time view
view command
Use either command.
NOTE:
•
If you execute the schedule job
command repeatedly, the last
configuration takes effect.
•
Changing any clock setting can
cancel the job set by using the
schedule job command.
Scheduling a job in the modular approach
To configure a scheduled job:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a job and enter job
view.
job job-name N/A
3.
Specify the view in which the
commands in the job run.
view view-name
You can specify only one view for
a job. The job executes all
commands in the specified view.
4.
Add commands to the job.
•
Configure a command to run at
a specific time and date:
time time-id at time date
command command
•
Configure a command to run at
a specific time:
time time-id { one-off |
repeating } at time
[ month-date month-day |
week-day week-daylist ]
command command
•
Configure a command to run
after a delay:
time time-id { one-off |
repeating } delay time
command command
Use any of the commands.
Changing a clock setting does not
affect the schedule set by using the
time at or time delay command.
Scheduled job configuration example
Network requirements
Configure scheduled tasks on SecPath to enable interfaces GigabitEthernet 0/1, GigabitEthernet 0/2,
and GigabitEthernet 0/3 at 8:00 and disabled them at 18:00 on working days every week, to control
the access of the PCs connected to these interfaces.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS