Browse Source

New task to fetch all feeds

master
Adrian Short 12 years ago
parent
commit
fcf827d135
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      lib/tasks/scheduler.rake

+ 8
- 0
lib/tasks/scheduler.rake View File

@@ -0,0 +1,8 @@
desc "This task is called by the Heroku scheduler add-on"

task :get_all_feeds => :environment do
puts "Getting all feeds..."
Feed.get_all
puts "done."
end


Loading…
Cancel
Save