定时关机 windows:

at 4:00 shutdown -s

linux:

sudo shutdown -h 4:00