Google Code Prettify - 輕量級的語法上色工具

星期一, 6月 11, 2018

自動定時關機法

一刻鐘=900s 半小時=1800s

shutdown -s -t 3600 (一小時後)
shutdown -s -t 7200 (二小時後)
shutdown -s -t 10800 (三小時後)
shutdown -s -t 14400 (四小時後)
shutdown -s -t 18000 (五小時後)
shutdown -s -t 28800 (八小時後)

shutdown -a (取消關機)


===== 可搭配以下指令混合使用 =====
-l ==============> 登出
-s ==============> 電腦關機
-r ==============> 重新啟動
-t xx ============> xx秒後關機
-c "comment" =====> 註解
-f ==============> 強制關閉程式
-i ==============> 關區網中的電腦 有時會存取被拒
at hh:mm ========> 在xx點mm分關機 / 每個禮拜的行程