[Seek Help] 有什么办法让电脑每天0:00自动关机啊
Tofloor
poster avatar
solothink
deepin
2022-08-10 07:07
Author

各位,有什么办法让电脑每天0:00自动关机啊,而且在我有时需要撤销的时候又能方便地撤销。谢谢啦

Reply Favorite View the author
All Replies
安洛
deepin
2022-08-10 07:12
#1

有个程序叫kshutdown,可以定时关机、延时关机等等。你可以试试。

sudo apt install kshutdown

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2022-08-10 07:34
#2

https://www.runoob.com/linux/linux-comm-crontab.html

Reply View the author
Ziggy
deepin
2022-08-10 08:10
#3

可以写个crontab

Reply View the author
xiao80
deepin
2022-08-10 11:59
#4

建议 crontab 的想过怎么取消没有呢?


man shutdown 应该有你想要的东西。

你只需要完成一个任务:在开机的时候自动执行一下 shutdown 00:00。

想取消的时候,执行一下 shutdown -c。

Reply View the author
阿白
deepin
2022-08-10 13:56
#5
xiao80

建议 crontab 的想过怎么取消没有呢?


man shutdown 应该有你想要的东西。

你只需要完成一个任务:在开机的时候自动执行一下 shutdown 00:00。

想取消的时候,执行一下 shutdown -c。

我觉得你说的还是挺好的,用shutdown是比较好的方法

Reply View the author
fuuko
deepin
2022-08-10 16:26
#6

也可以建议官方学windows那样,做一个计划任务组件,全部用GUI操作,挺方便的

Reply View the author
不会开车有驾照
deepin
2022-08-10 16:44
#7

Qshutdown,应用商店里有

Reply View the author