shutdown - Turn off computer every day at same time - Ask Ubuntu


i want computer turned off every day @ 21:30. how do this?

i found command:

sudo shutdown -h 21:30  

is correct?

with have have terminal open time. read can run in background don't have have terminal open time. how do this?

if don´t have run in background, else have do?

you can use this;

open cron file;

sudo -h gedit /etc/crontab 

add below end of line

30 21 * * * root shutdown -h 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User