aws-solutions / instance-scheduler-on-aws

A cross-account and cross-region solution that allows customers to automatically start and stop EC2 and RDS Instances
https://aws.amazon.com/solutions/implementations/instance-scheduler-on-aws/
Apache License 2.0
542 stars 264 forks source link

Provide a way to specify weekdays after an nth weekday #522

Open halberom opened 6 months ago

halberom commented 6 months ago

Is your feature request related to a problem? Please describe.

Microsoft have patch Tuesdays on every 2nd Tuesday of the month. I want to be able to set patching schedules for subsequent weekends concisely. Currently this is not possible as some months this will be the 2nd weekend, others it'll be the 3rd, and in some cases, it'll be the 2nd Saturday but the 3rd Sunday.

Describe the feature you'd like

Something like

weekdays: tue#2|Sat-Sun     # i.e. first sat sun after the 2nd tue
weekdays: tue#2|Sat#2-Sun#2 # i.e. second sat sun after the 2nd tue

Additional context

shujacks commented 6 months ago

Thanks for reaching out. We will evaluate this internally.