Setting the Time Schedule (SRC CLI)
When you set up a time schedule, you specify:
- For event schedules—Time at which an action is to occur; the from date and time information
- For schedules for services that have authorization configured—Beginning and end of the interval; the to date and time information
- For exclusions—Times to be excluded from that schedule
Use the following statements to configure a time schedule for an event:
schedule name event name from {effective effective; hour hour; minute minute; day-of-month day-of-month; day-of-week day-of-week; month month; year year; time-zone time-zone; weekly-recur-freq weekly-recur-freq;}
schedule name event name to { effective effective; hour hour; minute minute; day-of-month day-of-month; day-of-week day-of-week; month month; year year; time-zone time-zone; weekly-recur-freq weekly-recur-freq;}
Use the following statements to configure time exclusions from the schedule:
schedule name event name except name from {hour hour; minute minute; day-of-month day-of-month; day-of-week day-of-week; month month; year year; time-zone time-zone; }
schedule name event name except name to { hour hour; minute minute; day-of-month day-of-month; day-of-week day-of-week; month month; year year; time-zone time-zone; }
To configure the time schedule:
- From configuration mode, access the configuration statement that configures the service schedule for the objects for which you can create a service schedule. Enter a name for the event and the exclusion. The specified name is not stored as an identifier, so the arbitrary value can be as simple as a number.
- (Optional) Specify the effective period in which to schedule
the event. This period is the interval after the associated from or
to time during which the scheduled action can be initiated by a subscriber
who is logging in to a subscriber session. user@host# set effective effective
- (Optional) Specify the hour of the day in the indicated
month in which to schedule the event or exclusion. user@host# set hour hour
- (Optional) Specify the minutes past the indicated hour
in which to schedule the event or exclusion. user@host# set minute minute
- (Optional) Specify the day of the month in which to schedule
the event or exclusion. user@host# set day-of-month day-of-month
- (Optional) Specify the day of the week in which to schedule
the event or exclusion. user@host# set day-of-week day-of-week
- (Optional) Specify the month of the year in which to schedule
the event or exclusion. user@host# set month month
- (Optional) Specify the year in which to schedule the event
or exclusion. user@host# set year year
- (Optional) Specify the time zone to use in the schedule. user@host# set time-zone time-zone
Note: If the schedule time-zone is not the same as the system time-zone, a warning message is displayed when you commit the changes.
- (Optional) Specify the weekly recurrent pattern to be
used to schedule the event.user@host# set weekly-recur-freq weekly-recur-freq