Skip to content

feat: add exclusion windows sample (section 9)#8

Merged
Theauxm merged 1 commit into
mainfrom
feat/exclusion-windows
Mar 3, 2026
Merged

feat: add exclusion windows sample (section 9)#8
Theauxm merged 1 commit into
mainfrom
feat/exclusion-windows

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 3, 2026

Summary

  • Add section 9 "EXCLUSION WINDOWS" to Scheduler sample Program.cs
  • Demonstrates Exclude.DaysOfWeek (weekends) and Exclude.TimeWindow (2am-4am) on a 30-second interval train
  • Add WeekdayOnly constant to ManifestNames.cs

Depends on: TraxSharp/Trax.Effect#12, TraxSharp/Trax.Scheduler#11

Test plan

  • dotnet build passes
  • Sample runs and registers the weekday-only manifest
  • Manifest appears in dashboard with exclusion windows displayed

Demonstrate Exclude.DaysOfWeek and Exclude.TimeWindow on a 30-second
interval train that skips weekends and the 2am-4am maintenance window.
@Theauxm Theauxm merged commit 47e29df into main Mar 3, 2026
1 of 3 checks passed
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 3, 2026

This PR is included in version 1.4.0

@Theauxm Theauxm deleted the feat/exclusion-windows branch March 6, 2026 19:04
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

Successfully merging this pull request may close these issues.

1 participant