<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>S_E_Hyphen</author_name>
  <author_url>https://blog.hatena.ne.jp/S_E_Hyphen/</author_url>
  <blog_title>あるStray Engineer の日記</blog_title>
  <blog_url>https://s-e-hyphen.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>当時間間隔にジョブ(drop_jobを想定）を実行する方法として、下記の方法などがよく紹介されています。 #!/bin/bash while true do sleep 10 ./drop_job done これだとdrop_jobが終了した時点から１０秒後に次のdrop_jobが再会されます。ですから、例えば # drop_jobの中身echo 現在時刻は `date +&quot;%F %T&quot;` ですsleep 5 みたいに、それ自体が時間のかかるジョブだと１０秒間隔で実行できません。 manページで見ると、atコマンドに-tオプションを指定すると秒単位まで開始時刻を指定できるみたいなのですが、実際…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs-e-hyphen.hatenadiary.jp%2Fentry%2F2017%2F11%2F02%2F161400&quot; title=&quot;10秒間隔にジョブを実行する - あるStray Engineer の日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/S/S_E_Hyphen/20171102/20171102161306.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-02 16:14:00</published>
  <title>10秒間隔にジョブを実行する</title>
  <type>rich</type>
  <url>https://s-e-hyphen.hatenadiary.jp/entry/2017/11/02/161400</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
