- Package:
- unattended-upgrades
- Source:
- unattended-upgrades
- Submitter:
- "johannes.black"
- Date:
- 2019-09-23 19:45:04 UTC
- Severity:
- wishlist
Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** Hi, the unattended-upgrades packages is fine. It would be great if there would be a reboot option for a specific day (e.g. on Sunday) instead of every day. Some servers need to work on weekdays. Sure it is possible to create a cron job but I don't want to reboot if I don't have to. Is this additional functionality planned? Greetings and thanks, John *** End of the template - remove these template lines ***
Hi Johannes, While I see the value of not restarting on weekdays I believe adding this feature to u-u is not the best way to go. It would add logic that can't satisfy every use case. For example, sometimes there are workdays on weekends, sometimes migrations of the weekends thus a simple static rule of restarting on Sundays may not fit. I suggest creating a systemd timer or a cron job that fits your preferred schedule and looks for /var/run/reboot-required and reboots only when it is present. Cheers, Balint