https://ubuntuhandbook.org/index.php/2021/07/automatic-shutdown-ubuntu-system-menu/
Automatic Shutdown Easily in Ubuntu via System Menu Option