Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Fix invokation of rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Feb 20, 2013
1 parent 486fafe commit 7a2327d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/collect.rake
Expand Up @@ -42,12 +42,12 @@ namespace :collect do
namespace :last_week do
desc "collect data for last week and print"
task :print do
Rake::Task["last_week"].invoke("print")
Rake::Task["collect:last_week"].invoke("print")
end

desc "collect data for last week and send to queue"
task :broadcast do
Rake::Task["last_week"].invoke("broadcast")
Rake::Task["collect:last_week"].invoke("broadcast")
end
end
end
end

0 comments on commit 7a2327d

Please sign in to comment.