如何每天在特定时间使用Debian启动和关闭Itx开发板

我尝试使用cronjob,而crontab -l向我发送了我保存在那里的命令:

00 20 * * * root /usr/sbin/rtcwake -m off -s 32000

这应该在20:00时关闭电路板,然后在32 000秒后打开。但是什么也没发生,主板仍然打开。

lttsusan 回答:如何每天在特定时间使用Debian启动和关闭Itx开发板

您使用的格式适用于/etc/cron.d个文件。对于普通的cron记录,它必须类似于:

00 20 * * * /usr/sbin/rtcwake -m off -s 32000
本文链接:https://www.f2er.com/3156664.html

大家都在问