OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
move notification schedule job
ulfertsd025bf0ae051
diff --git a/app/workers/cron/schedule_reminder_mails_job.rb b/app/workers/notifications/schedule_reminder_mails_job.rbsimilarity index 95%rename from app/workers/cron/schedule_reminder_mails_job.rbrename to app/workers/notifications/schedule_reminder_mails_job.rbindex cd3cc77e926..ca55ed20abb 100644--- a/app/workers/cron/schedule_reminder_mails_job.rb+++ b/app/workers/notifications/schedule_reminder_mails_job.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 * * * *'diff --git a/spec/workers/cron/schedule_reminder_mails_job_spec.rb b/spec/workers/notifications/schedule_reminder_mails_job_spec.rbsimilarity index 96%rename from spec/workers/cron/schedule_reminder_mails_job_spec.rbrename to spec/workers/notifications/schedule_reminder_mails_job_spec.rbindex 23a61cd8c19..7ebe7dff829 100644--- a/spec/workers/cron/schedule_reminder_mails_job_spec.rb+++ b/spec/workers/notifications/schedule_reminder_mails_job_spec.rb@@ -30,7 +30,7 @@require 'spec_helper'-describe Cron::ScheduleReminderMailsJob, type: :job do+describe Notifications::ScheduleReminderMailsJob, type: :job dosubject(:job) { described_class.perform_now }let(:ids) { [23, 42] }