title: Help with the "Whenever" gem in Ruby for cron tasks
body: <p>I have not used cron before, so I can't be sure that I did this right. The tasks I want to be automated don't seem to be running. I did these steps in the terminal:</p>
  
  <ol>
  <li>sudo gem install whenever</li>
  <li>change to the application directory</li>
  <li>wheneverize . (this created the file schedule.rb)</li>
  <li><p>I added this code to schedule.rb:</p>
  
  <pre><code>every 10.minutes do
    runner "User.vote", environment =&gt; "development"
  end
  
  
  every :hour do
    runner "Digest.rss", :environment =&gt; "development"
  end
  </code></pre></li>
  <li><p>I added this code to deploy.rb:</p>
  
  <pre><code>after "deploy:symlink", "deploy:update_crontab"
  
  
  namespace :deploy do
    desc "Update the crontab file"
    task :update_crontab, :roles =&gt; :db do
      run "cd #{current_path} &amp;&amp; whenever --update-crontab #{application}"
    end
  end
  </code></pre></li>
  <li><p>I did this in the terminal: whenever</p></li>
  <li><p>It returned:</p>
  
  <pre><code>@hourly cd /Users/RedApple/S &amp;&amp; script/runner -e development 'Digest.rss'
  
  
  0,10,20,30,40,50 * * * * cd /Users/RedApple/S &amp;&amp; script/runner -e development 'User.vote'
  </code></pre></li>
  <li><p>Running these commands individually in the terminal works:</p>
  
  <pre><code>script/runner -e development 'Digest.rss'
  script/runner -e development 'User.vote'
  </code></pre></li>
  <li><p>Now running a local server in development mode, script/server, I don't see any evidence that the code is actually being run. Is there some step that I didn't do? No guides for "Whenever" show anything else than what I have done.</p></li>
  </ol>