This example shows how to configure a schedule for an Internet gold service to be active:
The example uses the Internet-GoldAuth service. This service is based on the Internet-Gold service in the sample data with the addition of the scheduleAuth plug-in defined as the authorization plug-in for the service.
The sample schedule:
This configuration avoids schedule overlap.
For demonstration purposes, the sample schedule is configured in the global configuration to make the service schedule available to all subscribers to the Internet-GoldAuth service.
To configure a schedule to make a service available outside work hours and on January 1:
Enter a description for the schedule.
- user@host# edit services global schedule afterHours
event goldTime from
- [edit services global schedule afterHours event goldTime
from]
- user@host# set day-of-week 1
- user@host# set hour 8
- user@host# set minute 30
- user@host# edit services global schedule afterHours
event goldTime to
- [edit services global schedule afterHours event goldTime
to]
- user@host# set day-of-week 5
- user@host# set hour 16
- user@host# set minute 29
- user@host# edit services global schedule afterHours
event goldTime except exclude-1 from
- [edit services global schedule afterHours event goldTime
except exclude-1 from]
- user@host# set month 1
- user@host# set day-of-month 1
By excluding January 1 from the schedule, the Internet-GoldAuth service is active all day.
- user@host# edit services global schedule afterHours
event goldTime2 except exclude-2 from
- [edit services global schedule afterHours event goldTime2
except exclude-2 from]
- user@host# set month 1
- user@host# set day-of-month 1
By excluding January 1 from the schedule, the Internet-GoldAuth service is active all day.