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

Commit

Permalink
Introduce messages:import rake task.
Browse files Browse the repository at this point in the history
We've questioned whether loading the Rails environment is sensible,
given the overhead of doing so. We'll discuss this separately.
  • Loading branch information
chrisroos-and-lazyatom committed Mar 23, 2012
1 parent 439b544 commit b73aec8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tasks/import.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace :messages do
task :import => :environment do
AccountMessageImporter.import_for(ENV["EMAIL"], ENV["PASSWORD"])
end
end

0 comments on commit b73aec8

Please sign in to comment.