【问题标题】:How to start and shut down itx board with debian at specific times daily如何在每天的特定时间使用 debian 启动和关闭 itx board
【发布时间】:2019-11-05 20:16:21
【问题描述】:

我尝试使用 cronjob 并且 crontab -l 将我保存在那里的命令传递给我:

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

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

【问题讨论】:

    标签: cron debian startup shutdown


    【解决方案1】:

    您使用的格式适用于/etc/cron.dfiles。对于普通的cron 记录,它必须是这样的:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-09
      • 1970-01-01
      • 1970-01-01
      • 2013-12-21
      • 1970-01-01
      • 1970-01-01
      • 2011-11-06
      相关资源
      最近更新 更多