<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>madogiwa0124</author_name>
  <author_url>https://blog.hatena.ne.jp/madogiwa0124/</author_url>
  <blog_title>Madogiwa Blog</blog_title>
  <blog_url>https://madogiwa0124.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>開発</anon>
    <anon>Ruby</anon>
  </categories>
  <description>Railsで非同期jobを利用する際にSidekiqを使っている場合、任意のJobをスケジュール実行したいことがあります。 今までは割とsidekiq-cronを使うことが多かったのですが、最近はsidekiq-schedulerの方が活発にメンテナンスされており、そちらを使ってみたので導入方法とかをメモ📝 github.com 導入方法 導入は簡単で以下のようにinstallして gem install sidekiq-scheduler # Gemfileに追記してbundle install 既存のconfig/sidekiq.ymlに以下のように追記してあげるだけです。 :schedu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmadogiwa0124.hatenablog.com%2Fentry%2F2022%2F08%2F27%2F142749&quot; title=&quot;Ruby on Rails: sidekiq-schedulerでjobをスケジュール実行するメモ - Madogiwa 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>2022-08-27 14:27:49</published>
  <title>Ruby on Rails: sidekiq-schedulerでjobをスケジュール実行するメモ</title>
  <type>rich</type>
  <url>https://madogiwa0124.hatenablog.com/entry/2022/08/27/142749</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
