title: rails delayed jobs with "whenever" and "delayed_job_active_record"
body: <p>I have never worked on delayed jobs, trying first time.</p>
  
  <p>I used <strong>whenever</strong> and <strong>delayed_job_active_record</strong>. for whenever I followed the instruction at <a href="https://github.com/javan/whenever" rel="nofollow noreferrer">whenever</a> like </p>
  
  <pre><code>gem 'whenever', :require =&gt; false
  command: wheneverize .
  </code></pre>
  
  <p>and added schedule.rb</p>
  
  <pre><code>every 2.minutes do
    runner "Page.save_daily_detail"  #Page is name of model, and save_daily_detail put some entries in database
  end
  </code></pre>
  
  <p>than </p>
  
  <pre><code>whenever --update-crontab
  </code></pre>
  
  <p>For delayed_job_active_record </p>
  
  <pre><code>gem 'delayed_job_active_record'
  </code></pre>
  
  <p>commands:</p>
  
  <pre><code>rails generate delayed_job:active_record
  rake db:migrate
  </code></pre>
  
  <p>also in application.rb</p>
  
  <pre><code>config.active_job.queue_adapter = :delayed_job
  </code></pre>
  
  <p>and when I start jobs with</p>
  
  <pre><code>bundle exec rake jobs:work
  </code></pre>
  
  <p>it says that jobs start but does nothing.
  what 'm I missing here?</p>