<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cron on Christian Knedel</title>
    <link>https://www.christian-knedel.de/zh/tags/cron/</link>
    <description>Recent content in cron on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 14 Feb 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/zh/tags/cron/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>树莓派：PI CPU的无热性</title>
      <link>https://www.christian-knedel.de/zh/post/2020/february/20200214-rpi-cpu-temp/</link>
      <pubDate>Fri, 14 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/zh/post/2020/february/20200214-rpi-cpu-temp/</guid>
      <description>如果你想在某个温度下关闭树莓，那么你就来对地方了。我有一个脚本，通过Crontab检查CPU温度。
#!/bin/sh # This script reads the Broadcom SoC temperature value and shuts down if it # exceeds a particular value. # 80ºC is the maximum allowed for a Raspberry Pi. # Get the reading from the sensor and strip the non-number parts SENSOR=&amp;quot;`/opt/vc/bin/vcgencmd measure_temp | cut -d &amp;quot;=&amp;quot; -f2 | cut -d &amp;quot;&#39;&amp;quot; -f1`&amp;quot; # -gt only deals with whole numbers, so round it. TEMP=&amp;quot;`/usr/bin/printf &amp;quot;%.</description>
    </item>
    
    <item>
      <title>Synology-Nas: 我怎样才能运行任务或crons？</title>
      <link>https://www.christian-knedel.de/zh/post/2020/february/20200213-synology-task/</link>
      <pubDate>Thu, 13 Feb 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/zh/post/2020/february/20200213-synology-task/</guid>
      <description>你想在Synology NAS中设置自动任务吗？请点击 &amp;ldquo;控制面板 &amp;ldquo;中的 &amp;ldquo;任务调度器&amp;rdquo;。    设定的时间和重复次数 在 &amp;ldquo;任务规划器 &amp;ldquo;中，可以创建新的 &amp;ldquo;任务&amp;rdquo;，即准cron作业。时间和重复次数在此设定。    脚本 目标脚本存储在 &amp;ldquo;任务设置 &amp;ldquo;下。在我的案例中，创建了一个压缩档案。你应该自己测试这个功能。    </description>
    </item>
    
  </channel>
</rss>
