title: How to schedule daily job using Rufus Scheduler
body: <p>I am trying to schedule a daily job using Rufus Scheduler.
  Is this a correct way doing it? </p>
  
  <pre><code>require 'rufus-scheduler'
  
  scheduler = Rufus::Scheduler.new
  
  scheduler.every '1d' do
    # Daily job code
  end
  </code></pre>
  
  <p>Or should I create a cron job ? 
  Cannot find anything in Rufus documentation. </p>