move notification schedule job

pull/9611/head
ulferts 3 years ago
parent 99c1387700
commit d025bf0ae0
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 4
      app/workers/notifications/schedule_reminder_mails_job.rb
  2. 2
      spec/workers/notifications/schedule_reminder_mails_job_spec.rb

@ -28,8 +28,8 @@
# See docs/COPYRIGHT.rdoc for more details.
#++
module Cron
class ScheduleReminderMailsJob < CronJob
module Notifications
class ScheduleReminderMailsJob < Cron::CronJob
# runs every 30min step, so 00:00, 00:30, 01:00, 01:30...
self.cron_expression = '/30 * * * *'

@ -30,7 +30,7 @@
require 'spec_helper'
describe Cron::ScheduleReminderMailsJob, type: :job do
describe Notifications::ScheduleReminderMailsJob, type: :job do
subject(:job) { described_class.perform_now }
let(:ids) { [23, 42] }
Loading…
Cancel
Save