<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anton0825</author_name>
  <author_url>https://blog.hatena.ne.jp/anton0825/</author_url>
  <blog_title>日々精進</blog_title>
  <blog_url>https://anton0825.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>原因はcronから実行する場合とシェルから実行する場合では環境変数が違うから。 実行するシェルスクリプトに.bashrcなどを読み込むコマンドを追加しないといけない。 参考：役立つかもしれないメモ cronからshellの呼び出し</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20130508%2F1371688241&quot; title=&quot;cronからコマンドを実行するとcommand not foundになる - 日々精進&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>2013-05-08 09:30:41</published>
  <title>cronからコマンドを実行するとcommand not foundになる</title>
  <type>rich</type>
  <url>https://anton0825.hatenablog.com/entry/20130508/1371688241</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
