@mhier

That's a great idea!

PeriodicUpdates - Debian Wiki

@sihaha
Does unattended-upgrade allow a subsequent reboot? I want that weekly reboot in any case, and it totally makes sense to do that right after the upgrade finished. You certainly do not want it to interrupt, also you do not want to wait long after the upgrade, because you might be unnecessarily running with an old kernel etc.
@terminaltilt

@mhier @terminaltilt

TL,DR; yes

Long answer: RTFM ๐Ÿ˜‰

In 50unattended-upgrades you can specify
Unattended-Upgrade::Automatic-Reboot and even Unattended-Upgrade::Automatic-Reboot-Time

See https://github.com/mvo5/unattended-upgrades/blob/master/README.md#supported-options-reference

unattended-upgrades/README.md at master ยท mvo5/unattended-upgrades

Automatic installation of security upgrades on apt based systems - mvo5/unattended-upgrades

GitHub
@sihaha
Sorry, I had a quick glance at the manual before asking, but I must have overlooked it... ๐Ÿ˜‰ Thanks for the pointer!
@terminaltilt