【已解决】每天23点定时关机怎么写命令
Tofloor
poster avatar
153******90
deepin
2018-01-11 03:36
Author
本帖最后由 ghost005 于 2018-1-10 22:13 编辑

命令怎么写?
需要放到说明文件里面?
Reply Favorite View the author
All Replies
avatar
电脑迷
deepin
2018-01-11 04:19
#1
The user is banned, and the content is hidden.
avatar
litsdeepin
deepin
2018-01-11 04:33
#2
https://wiki.archlinux.org/index.php/Systemd/Timers_(简体中文)
Reply View the author
avatar
litsdeepin
deepin
2018-01-11 04:35
#3
参考一下,用systemd timer来实现,很简单的 https://wiki.archlinux.org/index.php/Systemd/Timers_(简体中文)
Reply View the author
avatar
153******90
deepin
2018-01-11 06:14
#4
谢谢两位
Reply View the author
avatar
nero28
deepin
2018-01-11 06:52
#5
shutdown命令
Reply View the author
avatar
Deepin大法好
deepin
2018-01-11 20:33
#6
sudo crontab -e
然后添加

00 23 * * * init 0
Reply View the author
avatar
中国新蔡
deepin
2018-01-11 23:17
#7
sudo su -
crontab -e
00 23 * * * /usr/sbin/shutdown -h now &>/dev/null
:wq
Reply View the author
avatar
kingskill
deepin
2018-01-12 04:38
#8
学习帖~~马克
Reply View the author