|
@@ -2,7 +2,7 @@ desc "This task is called by the Heroku scheduler add-on" |
|
|
|
|
|
|
|
|
task :get_all_feeds => :environment do |
|
|
task :get_all_feeds => :environment do |
|
|
puts "Getting all feeds..." |
|
|
puts "Getting all feeds..." |
|
|
Feed.get_all |
|
|
|
|
|
|
|
|
Feed.fetch_all |
|
|
puts "done." |
|
|
puts "done." |
|
|
end |
|
|
end |
|
|
|
|
|
|