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

[RFE] Add support for multiple reboot windows #195

Open
steled opened this issue Mar 28, 2023 · 1 comment
Open

[RFE] Add support for multiple reboot windows #195

steled opened this issue Mar 28, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@steled
Copy link

steled commented Mar 28, 2023

Current situation

Currently it is only possible to have one reboot window.

Impact

This means I can only schedule reboots for one specific day or every day.

Ideal future situation

It would be great to setup multiple reboot windows, for example:

  • Mon to Fri from 09:00 to 17:00 o'clock (office hours)

Implementation options

/bin/update-operator \
 --reboot-window-start="Mon, Tue, Wed, Thu, Fri 09:00" \
 --reboot-window-length=8h
@steled steled changed the title [RFE] Add support for multiple reboot wondows [RFE] Add support for multiple reboot windows Mar 28, 2023
@invidian invidian added enhancement New feature or request good first issue Good for newcomers labels Mar 28, 2023
@invidian
Copy link
Member

Thanks for opening separate issue. More context here: #193.

If anyone wants to try implementing it, please go ahead. Existing implementation has plenty of tests, so it should be relatively easy to write new tests and extend it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants