<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moriatson</author_name>
  <author_url>https://blog.hatena.ne.jp/moriatson/</author_url>
  <blog_title>starlight</blog_title>
  <blog_url>https://moriatson.hatenablog.com/</blog_url>
  <categories>
    <anon>cron</anon>
    <anon>Linux</anon>
  </categories>
  <description>実行パスはフルパスで 自動再起動するcron設定をしようとしたが 23 11 * * 6 reboot -h now では再起動しなかった。 調べてみたところ、実行コマンドはフルパス指定の必要があったので、下記のように変更した。 23 11 * * 6 /sbin/reboot -h now 無事再起動した！ もちろん、reboot実行権限のあるrootでcron設定しないとrebootされません。 (ユーザでcron設定して失敗したのは内緒) 参考：http://stackoverflow.com/questions/15393875/using-cron-to-reboot</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoriatson.hatenablog.com%2Fentry%2F2014%2F08%2F09%2F113009&quot; title=&quot;Crontab書き方注意 - starlight&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-08-09 11:30:09</published>
  <title>Crontab書き方注意</title>
  <type>rich</type>
  <url>https://moriatson.hatenablog.com/entry/2014/08/09/113009</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
