Common Configuration Tasks
Page 252 7210 SAS D, E, K OS Basic System Configuration Guide
Weekdays
The weekdays command configures the start and end of a periodic schedule for weekdays
(Monday through Friday).
CLI Syntax: config>cron>time-range$
weekdays start time-of-day end time-of-day
Example
:
config>cron>time-range$ weekdays start 11:00 end 12:00
config>cron>time-range$
The following command shows a time range beginning at 11:00 and ending at 12:00. This
schedule runs all weekdays during this time period.
A:sim1>config>cron>time-range# show cron time-range detail
===============================================================================
Cron time-range details
===============================================================================
Name : 1
Triggers : 0
Status : Inactive
Periodic : weekdays Start 11:00 End 12:00
===============================================================================
A:sim1>config>cron>time-range#
Weekend
The weekend command configures the start and end of a periodic schedule for weekends
(Saturday and Sunday). The resolution must be at least one minute apart, for example, start at
11:00 and end at 11:01. A start time and end time of 11:00 is invalid.
CLI Syntax: config>cron>time-range$
weekend start time-of-day end time-of-day
Example
:
config>cron>time-range$ weekend start 11:00 end 12:00
config>cron>time-range$
The following command shows a weekend time range beginning at 11:00am and ending at
12:00pm, both Saturday and Sunday.
To specify 11:00am to 12:00pm on Saturday or Sunday only, use the Absolute parameter for one
day, or the Weekly parameter for every Saturday or Sunday accordingly. In addition, see the
Schedule parameter to schedule oneshot or periodic events in the
config>cron>
context.
A:sim1>config>cron>time-range# show cron time-range detail
===============================================================================
Cron time-range details
===============================================================================
Name : 1
Triggers : 0