Configuration procedure
To configure a non-periodic schedule for the device:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a job. | scheduler job job-name | By default, no job exists. |
3. Assign a command to the job. | command id command | By default, no command is assigned to a job. You can assign multiple commands to a job. A command with a smaller ID will be executed first. |
4. Exit system view. | quit | N/A |
5. Create a schedule. | scheduler schedule schedule-name | By default, no schedule exists. |
6. Assign a job to a schedule. | job job-name | By default, no job is assigned to a schedule. You can assign multiple jobs to a schedule. The jobs will be executed concurrently. |
7. Assign user roles to the schedule. | user-role role-name | By default, a schedule has the user role of the schedule creator. |
8. Specify an execution time table for the non-periodic schedule. |
| Configure one command as required. By default, no execution time is specified for a schedule. Executing commands clock datetime, clock summer-time, and clock timezone does not change the execution time table that is already configured for a schedule. |
To configure a periodic schedule for the device:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a job. | scheduler job job-name | By default, no job exists. |
3. Assign a command to the job. | command id command | By default, no command is assigned to a job. You can assign multiple commands to a job. A job with a smaller ID will be executed first. |
4. Exit system view. | quit | N/A |
5. Create a schedule. | scheduler schedule schedule-name | By default, no schedule exists. |
6. Assign user roles to the schedule. | user-role role-name | By default, a schedule has the user role of the schedule creator. |
7. Assign a job to a schedule. | job job-name | By default, no job is assigned to a schedule. You can assign multiple jobs to a schedule. The jobs will be executed concurrently. |
8. Specify an execution time table for the periodic schedule. |
| Configure either command. By default, no execution time is specified for a schedule. Executing commands clock datetime, clock summer-time, and clock timezone does not change the execution time table that is already configured for a schedule. |