Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combining calendars #112

Open
mtcronin99 opened this issue Jun 16, 2021 · 2 comments
Open

Combining calendars #112

mtcronin99 opened this issue Jun 16, 2021 · 2 comments

Comments

@mtcronin99
Copy link

Is there a way to chain/combine different calendar types into a single calendar? An Annual calendar by itself isn't very useful. Combined with Holiday, Weekly and other types, it makes sense.

@enragedginger
Copy link
Owner

Hi @mtcronin99, I'm not sure that I follow. Can you explain your use case in more detail? What have you tried doing so far?

@mtcronin99
Copy link
Author

I haven't tried any thing. I will do that today. I'm trying to reconcile a couple of statements in the README.

...a common failure of the above listed alternatives is that configuration of things like a repeating schedule should be separated from code in a configuration file which an operations team (not the developers) can control.

and

calendar - [String] [optional] An option String which is the name of a configured Calendar. This Calendar is applied to this schedule as "exemptions" (Any times/dates falling in the Calendar will be excluded from the schedule firing - i.e. a Calendar that excludes all Mondays would keep a schedule configured to trigger every hour, from triggering at all on Mondays. NOTE: In versions 1.3.x and prior, this property was "calendars" and supported a list of Strings. However, Quartz, and by proxy, this library never actually supported multiple calendars for one schedule.

and finally that fact that none of the calendars configured in the configuration file have a way to specify the base calendar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants