138
A schedule does not support user interaction. If a command requires a yes or no answer, the
system always assumes that a Y or Yes is entered. If a command requires a character string
input, the system assumes that either the default character string (if any) is entered, or a null
string is entered.
A schedule is executed in the background, and no output (except for logs, traps, and debug
information) is displayed for the schedule.
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.
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.
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.
A command in a schedule can be
executed if it is permitted by one or
more user roles of the schedule.
The security-
audit user role is
mutually exclusive with any other
user
security-
schedule removes all the other user
role assignments for the schedule.
Assigning any other user role to a
schedule removes the
security-audit user role assignment
for the schedule.
8. Specify an execution
time table
non-periodic schedule.
• Specify the execution date and
time:
time at time date
• Specify the execution days and
time:
time once at time [ month-date
month-day | week-day
week-day&<1-7> ]
• Specify the execution delay
time:
time once delay time
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.