title: Ruby on Rails, Capistrano, Whenever: Cron jobs not getting executed at production server
body: <p><code>Ruby on rails + Capistrano + Whenever gem</code></p>
  
  <p>I executed <code>whenever --update-crontab</code> but still cron job is not getting executed at production server. There are no logs in the log file. Though everything works well at development where <code>capistrano</code> is not required.</p>
  
  <p>schedule.rb</p>
  
  <pre><code>set :output, "../dev/log/cron.log"
  
  every 1.minute do
    runner "SOME_TASK"
  end
  </code></pre>
  
  <p>deploy.rb</p>
  
  <pre><code>set :whenever_identifier, -&gt;{ "#{fetch(:application)}_#{fetch(:stage)}" }
  </code></pre>
  
  <p>capfile</p>
  
  <pre><code> require "whenever/capistrano"
  </code></pre>
  
  <p>What's the issue? How to debug?</p>