摘要:
linux下定时关机1.添加或者编辑一个计划任务:crontab -e2.进入编辑状态,输入下述代码:----------------------------------------------------#Power off this machine everyday or weekday#hao.chuang@eisoo.comSHELL=/bin/bashPATH=/sbin:/bin:/usr/sbin:/usr/bin25 22 * * 0-5 sync && shutdown -h now# 每星期日到星期五 晚10:25 关机55 22 * * 6 sync &a 阅读全文