我有一个 kubuntu 桌面盒子。这个盒子布置得很整齐,适合我的所有需求。
但是:以前的主人为了节省电力,每天 23:30(晚上 11 点 30 分钟)关闭盒子。
系统日志告诉我:
23:30:02 kubuntu-871263 CRON[17372]: (root) CMD (^I/sbin/poweroff)
因此我调查了
crontab -l
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 22 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 22 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 22 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
对于 root 和所有用户。
我找不到 poweroff 命令的来源。23:30 的命令源自的任何想法。
PS我不能问以前的主人。