Add rake desc.
This commit is contained in:
parent
b4eaea059e
commit
8c6a48acb0
|
@ -1,5 +1,6 @@
|
||||||
# desc "Explaining what the task does"
|
# desc "Explaining what the task does"
|
||||||
namespace :epaper do
|
namespace :epaper do
|
||||||
|
desc 'Send epaper emails'
|
||||||
task :send_email, [:paper_criteria_id, :domain, :locale] => :environment do |task,args|
|
task :send_email, [:paper_criteria_id, :domain, :locale] => :environment do |task,args|
|
||||||
require 'net/protocol'
|
require 'net/protocol'
|
||||||
require 'timeout'
|
require 'timeout'
|
||||||
|
|
Loading…
Reference in New Issue