To schedule a computer to sleep in 60 minutes, you need to install the ‘at’ command (which is foss), with just ‘sudo apt install at’. Then run this command:
sudo systemctl start atd
sudo systemctl enable atd
echo "systemctl suspend" | at now + 60 minutes
Comments: 0