BasicScheduleModel

I'm considering the perspective implementation of the Ignition scheduler downloaded from Igntion Exchange Ignition Exchange | Inductive Automation
It uses the class
com.inductiveautomation.ignition.common.user.schedule.BasicScheduleModel .
Unfortunately the options for repetition are limited to 'off', 'daily' and 'weekly'. I need to add 'monthly' and 'yearly' frequencies. I have considered scripting these special circumstances and generating a limited number of manual set() commands with frequency of 'off' but it is messy and confusing for the user. Any thoughts on how I could modify the class to add additional frequencies. Or should I look at creating my own custom scheduler.
P.S> The funny thing is that the related class com.inductiveautomation.ignition.common.user.schedule.HolidayModel includes annual repetition


image
image

You could definitely create your own module to add a new schedule type -- schedules are extension points.

Schedules and holidays have different repeat types because for the vast majority of our users they repeat differently. Workers often have the same schedule every week (or on alternating weeks) while holidays often repeat annually.

2 Likes