<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Java</anon>
    <anon>FW</anon>
    <anon>プログラミング</anon>
    <anon>恥晒し</anon>
    <anon>日記</anon>
  </categories>
  <description>経緯 RSSリーダーを作ったのだが、フィードの更新が手動なので、自動更新にしたく、いろいろ調べた 実装 @Scheduled で指定できる。 自分は、cronで１時間毎に起動したかったので、下記の通りに実装 コードに下手書きは、流石にないわぁーと思ったので、設定ファイル(application.properties)に記述 @Component public class AutoUpdateTask { @Scheduled(cron = &quot;${update.scheduler.cron}&quot;) public void allUpdate() { // ・・・ } } update.schedu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2022%2F04%2F11%2F011928&quot; title=&quot;SpringBootで定期処理の実装 - エンターテイメント！！&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>2022-04-11 01:19:28</published>
  <title>SpringBootで定期処理の実装</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2022/04/11/011928</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
