[Contents] [Prev] [Next] [Index] [Report an Error]

# 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;
}
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;
}

`

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:

1. 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.
2. (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
   `
3. (Optional) Specify the hour of the day in the indicated month in which to schedule the event or exclusion.
   `
   user@host# set hour hour
   `
4. (Optional) Specify the minutes past the indicated hour in which to schedule the event or exclusion.
   `
   user@host# set minute minute
   `
5. (Optional) Specify the day of the month in which to schedule the event or exclusion.
   `
   user@host# set day-of-month day-of-month
   `
6. (Optional) Specify the day of the week in which to schedule the event or exclusion.
   `
   user@host# set day-of-week day-of-week
   `
7. (Optional) Specify the month of the year in which to schedule the event or exclusion.
   `
   user@host# set month month
   `
8. (Optional) Specify the year in which to schedule the event or exclusion.
   `
   user@host# set year year
   `
9. (Optional) Specify the time zone to use in the schedule.
   `
   user@host# set time-zone time-zone
   `

#### Related Topics

- Overview of Service Schedules
- Guidelines for Entering Time Values for Service Schedules
- Adding a Service Schedule (SRC CLI)
- Setting the Action for a Service Schedule (SRC CLI)

[Contents] [Prev] [Next] [Index] [Report an Error]