Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.26 KB

Plugins that allows to create custom email reminders.

Minimum Rails version - 5.2

($REDMINE_ROOT) - directory where Redmine is located.

Regular plugin installation:

  1. Clone repository to your plugins directory ($REDMINE_ROOT)/plugins

  2. Create ruby file application_job.rb in ($REDMINE_ROOT)/app/jobs/application_job.rb with following content

    class ApplicationJob < ActiveJob::Base
      # Automatically retry jobs that encountered a deadlock
      # retry_on ActiveRecord::Deadlocked
    
      # Most jobs are safe to ignore if the underlying records are no longer available
      # discard_on ActiveJob::DeserializationError
    end
  3. In your terminal execute bundle install at ($REDMINE_ROOT) to install needed gems

  4. In your terminal execute rake redmine:plugins at ($REDMINE_ROOT) to perform database migration

  5. In your terminal execute bundle exec whenever -i redmine_custom_reminder -f plugins/redmine_custom_reminder/config/schedule.rb at ($REDMINE_ROOT)

After last step scheduler will start at 10:00 am every day. You can change it in ($REDMINE_ROOT)plugins/redmine_custom_reminder/config/schedule.rb. And executing step №5 from instruction.

Inspired by Redmine Custom Workflows;