心灵小站
点滴记忆
home
晚9点
讨论吧
gallery
Forum Index
Board index
»
计算机/电脑
»
常用软件
»
ubuntu desktop automatically shutdown 定时开关机
Browsing this Thread: 1 Anonymous Users
Bottom
Previous Topic
Next Topic
Register To Post
Topic options
View mode
Newest First
eyex
ubuntu desktop automatically shutdown 定时开关机
#1
eyex
Just can't stay away
Joined:
2017/9/5 21:34
Last Login:
9/23 17:17
Group:
Registered Users
Posts:
102
Level : 9
HP : 0 / 202
MP : 34 / 4270
EXP : 10
ubuntu 桌面版本 定时关机
vim /etc/crontab
30 02 * * * root /sbin/shutdown -h now
编辑 /etc/crontab添加一条命令:55 23 * * * root /sbin/shutdown -h now。即可实现每天23:55关机。
编辑 /etc/crontab添加一条命令:52 23 * * * root /sbin/shutdown -r 08:00。即可实现每天23:55关机,早上8点开机。
Posted on: 2020/11/24 14:11
Board index
»
计算机/电脑
»
常用软件
»
ubuntu desktop automatically shutdown 定时开关机
Top
Previous Topic
Next Topic
Register To Post
[
Advanced Search
]
friend links
github中文
/
codewhy教程
/
kodi
Themes
bigcity
pointspace
(
2
themes)
Main Menu
Home
晚9点
讨论吧
gallery
Login
Username:
Password:
Lost Password?
Register now!
Categories
Xoops
(11)
--Modules
(2)
--Themes
(0)
Article
(8)
最美英文
(55)