summaryrefslogtreecommitdiff
path: root/lib/tasks/process_subscriptions.rake
blob: a0089b584d2d8f32dac770d81d83b00eac938e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

namespace :solidus_subscriptions do
  desc 'Create orders for actionable subscriptions'
  task process: :environment do
    SolidusSubscriptions::Processor.run
  end

  desc 'Send reminders for subscriptions soon to be renewed'
  task send_reminder: :environment do
    SolidusSubscriptions::Reminder.run
  end

end