title: Heroku scheduler weekly?
body: <p>How can I get the heroku scheduler to run weekly?</p>
  
  <p>Is this even possible, from what I can see I can only schedule hourly, every 10 mins, or daily tasks with no option for a weekly.</p>
  
  <p>If not, what are other Heroku Add-ons that might allow me to run jobs (i.e. cron job) tasks on a weekly bassis in production. </p>
  
  <p>Thanks!</p>
  
  <p><strong>Update 2:</strong></p>
  
  <pre><code>  require 'date'
  task :weeklydelete do
    if Date.today.wday.zero?
      runner "Event.clear_expired"
      runner "Activity.clear_expired"
    end
  end
  </code></pre>
  
  <p><strong>Update 2.5:</strong></p>
  
  <pre><code>$heroku run bundle exec rake weeklydelete -a friendiosenew
  Running `bundle exec rake weeklydelete` attached to terminal... up, run.6194
  rake aborted!
  undefined local variable or method `path' for main:Object
  /app/lib/tasks/weeklydelete.rake:2:in `block in &lt;top (required)&gt;'
  Tasks: TOP =&gt; weeklydelete
  (See full trace by running task with --trace)
  </code></pre>