woblavobla / redmine_custom_reminder

Simple redmine plugin for scheduled email sending;
Apache License 2.0
8 stars 12 forks source link

"redmine_custom_reminder" usage #4

Closed oldunclez closed 5 years ago

oldunclez commented 5 years ago

Hi

Thank you for your great work on "redmine_custom_reminder"

We are looking for a way to send email notification when it meets all the following conditions :

  1. the issue is older than 1 day
  2. Priority is Immediate or Urgent
  3. Status is new or In Progress

It seems "redmine_custom_reminder" can do it . But I am new to ruby , I do not understand the step:

  1. Create application_job.rb in app/jobs/application_job.rb with following content
  2. bundle install
  3. rake redmine:plugins # Migrating db
  4. bundle exec whenever -i redmine_custom_reminder -f plugins/redmine_custom_reminder/config/schedule.rb

Colud you please give more example ? Thank you !

woblavobla commented 5 years ago

@sosogh Readme is updated, i hope that now it is more understandable now.

We are looking for a way to send email notification when it meets all the following conditions :

  1. the issue is older than 1 day
  2. Priority is Immediate or Urgent
  3. Status is new or In Progress

All this can be made in this plugin. You only have to write some code that checks this conditions.