Created
March 17, 2015 00:39
-
-
Save HansHauge/f4f8965a60359745ae1e to your computer and use it in GitHub Desktop.
Rake task to call rss feed updater job
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :update_rss_feeds do | |
desc "Updates all the feeds" | |
task update_all: :environment do | |
UpdateRssFeedsJob.perform_now | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment