<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>excite-takayuki-miura</author_name>
  <author_url>https://blog.hatena.ne.jp/excite-takayuki-miura/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。 エキサイト株式会社の三浦です。 Spring Bootには Scheduled というアノテーションがあり、これを使うと定期実行をしてくれるようになります。 今回は、コンテナでこの Scheduled を使うのであれば initialDelay を設定するのが適切だと思った、という話をしていきます。 Scheduledとは コンテナでScheduledをやる場合は、initialDelayを使うのが良い 最後に Scheduledとは Scheduled は、Spring Bootで定期実行を制御してくれるアノテーションです。 以下のように使用します。 @Scheduled(ti…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2023%2F05%2F22%2F133551&quot; title=&quot;コンテナでSpring BootのScheduledを使う際は、initialDelayを設定するのが良い - エキサイト TechBlog.&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/e/excite-takayuki-miura/20230522/20230522121706.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-05-22 13:35:51</published>
  <title>コンテナでSpring BootのScheduledを使う際は、initialDelayを設定するのが良い</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2023/05/22/133551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
