SVScheduler is a Windows service, that is responsible for scheduling certain tasks to execute at specific times. Schedules are created through the UI on an interactive calendar.
At the moment there are 5 different kinds of tasks that can be scheduled:
- Group Arm/Disarm: Arms or disarms a group/site/area at a specific time
- Response Arm/Disarm: Arms or disarms a response at a specific time
- Expected Alarm: If the alarm specified has not been triggered between the start and end times, a "NOT RECEIVED" alarm will be triggered for the response.
- Auto-handle Alarm: During the scheduled period, the alarm specified will be auto-handled (i.e. not appear in the event queue)
Feature flag and permissions
To enable the feature, enable the following feature flag in the system:
In order for a user to be able to create, edit and save Schedules, they will need the following permissions:
From the menu, choose the following option:
- Create a new Schedule task
- Search for an existing Schedule by its name
- Filter Schedules by the area it belongs to
- Filter Schedules by their type
- Change the displayed calendar back (i.e. if displaying a week, pressing back will show the previous week)
- Set the calendar to today's date
- Change the calendar display to either Day, Week or Month
To add a new Schedule click on the ADD SCHEDULE button, as highlighted below:
The Create Schedule modal appears, and looks in the most part like this:
The fields marked in red are common to all schedules. There could also be some additional fields that are required by different Schedule types which will display when the type is changed.
The Start Date and End Date fields will display a date picker when selected:
... and a time picker when the time field is selected:
The fields marked in green are used to set the rules for the Schedule to iterate on.
The Repeat Every field will repeat the current Schedule every x number of interval types. E.g. repeat every 2 weeks
The Recurrence field is used to expire the Schedule iterations:
- After a certain date and time has passed (e.g. repeat every 2 weeks until September 20th 5:00PM)
- After a certain number of occurrences (e.g. repeat every 2 weeks until Schedule has occurred 15 times)
- Never expire
Editing a Schedule
Clicking on a Schedule task displayed on the calendar brings up the Edit Schedule modal.
All fields that were editable in the Create Schedule modal are editable in this modal as well.
Note: Any changes to the Recurrence or Repeating fields will re-calculate the Schedule.
Deleting a Schedule
From the Edit Schedule modal, there is a DELETE button in the bottom left. Clicking it will ask the following:
- This event: this will delete only the selected occurrence of this Schedule, if it's an interval. It will simply delete the only instance of this Schedule if it is non-interval
- All events: this will delete all occurrences of the Schedule, if Schedule is interval or non-interval