diff --git a/lib/tasks/scheduler.rake b/lib/tasks/scheduler.rake new file mode 100644 index 0000000..99d6daf --- /dev/null +++ b/lib/tasks/scheduler.rake @@ -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 +