1、定时关机

shutdown -s -t 60    (60表示定时60秒)

2、取消定时关机

shutdown -a (取消定时关机)