250
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 month-date last
# Configure the device to execute schedule
saveconfig
at 8:00 a.m. every Friday and Saturday.
<Sysname> system-view
[Sysname] scheduler schedule saveconfig
[Sysname-schedule-saveconfig] time repeating at 8:00 week-day fri sat
Related commands
scheduler schedule
user-role
Use
user-role
to assign user roles to a schedule.
Use
undo user-role
to remove user roles from a schedule.
Syntax
user-role
role-name
undo user-role
role-name
Default
A schedule has the user roles of the schedule creator.
Views
Schedule view
Predefined user roles
network-admin
Parameters
role-name
: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role can be
user-defined or predefined. Predefined user roles include network-admin, network-operator, level-0 to
level-15, and security-audit).
Usage guidelines
By assigning user roles to and removing user roles from a schedule, you can control the commands to be
executed in the schedule.
A schedule must have a minimum of one user role, and can have up to 64 user roles. A command in a
schedule can be executed if it is permitted by one or more user roles of the schedule.
You must have the network-admin user role to assign user roles to or remove user roles from a schedule.
You can assign only user roles lower than your own user role.
For more information about user roles, see the RBAC configuration in
Fundamentals Configuration
Guide
.
Examples
# Assign user role
rolename
to schedule
test
.
<Sysname> system-view
[Sysname] scheduler schedule test
[Sysname-schedule-test] user-role rolename