LinuxMint9(LXDE)添加一个定时关机的任务,
在 /etc/crontab中添加一行 sudo leafpad /etc/crontab
22 21 * * * root shutdown -h now
发现无效,google之后, 原因是因为少了换行符
22 21 * * * root shutdown -h now
LinuxMint10没有这个问题, 没有换行符一样可以。
LinuxMint9(LXDE)添加一个定时关机的任务,
在 /etc/crontab中添加一行 sudo leafpad /etc/crontab
22 21 * * * root shutdown -h now
发现无效,google之后, 原因是因为少了换行符
22 21 * * * root shutdown -h now
LinuxMint10没有这个问题, 没有换行符一样可以。