<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masatoz</author_name>
  <author_url>https://blog.hatena.ne.jp/masatoz/</author_url>
  <blog_title>P学習帳</blog_title>
  <blog_url>https://gijutsumemo.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>状況 何らかのバッチ処理を本番サーバーで定期実行させたい。capistranoによる自動デプロイのついでにバッチ処理の設定もしてしまいたい。 前提 Ruby on Rails capistrano whenever 方法 capistrano capistranoの設定ファイルにwheneverの設定を追記する。 deploy.rbなどに以下を加える。 set :whenever_command, &quot;bundle exec whenever&quot; require &quot;whenever/capistrano&quot; 環境を指定するには set :environments &quot;production&quot; とすること…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgijutsumemo.hatenadiary.jp%2Fentry%2F2018%2F07%2F09%2F223349&quot; title=&quot;【Ruby on Rails】capistranoによる自動デプロイ環境でタスクを定期実行させたい - P学習帳&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>2018-07-09 22:33:49</published>
  <title>【Ruby on Rails】capistranoによる自動デプロイ環境でタスクを定期実行させたい</title>
  <type>rich</type>
  <url>https://gijutsumemo.hatenadiary.jp/entry/2018/07/09/223349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
