foodsoft/lib/tasks/messages.rake

4 lines
97 B
Ruby

desc "Deliver messages as emails"
task :send_emails => :environment do
Message.send_emails
end