<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ike-dai</author_name>
  <author_url>https://blog.hatena.ne.jp/ike-dai/</author_url>
  <blog_title>ike-dai's blog</blog_title>
  <blog_url>https://ike-dai.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>Linuxでは、crontabにバッチを登録しておいて、一定時間毎に実行させるということはよくあることだと思います。 今日は、そこでのちょっとした注意点について記録しておきます。crontabの設定では以下のように書いています。 $ crontab -l 0 0 * * * /bin/sh /var/scripts/aaa.sh 0,30 * * * /bin/sh /var/scripts/bbb.sh ここで、aaa.shのスクリプトファイルは、環境変数の設定が実行するためには必要なファイルです。 ちゃんと環境変数が設定されているかチェックしてみます。 $ echo $HENSU hoge…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fike-dai.hatenablog.com%2Fentry%2F20090219%2F1235053481&quot; title=&quot;cron　環境変数 - ike-dai&amp;#39;s blog&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>2009-02-19 23:24:41</published>
  <title>cron　環境変数</title>
  <type>rich</type>
  <url>https://ike-dai.hatenablog.com/entry/20090219/1235053481</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
