Compatible with redmine 3.0 (Developing on master branch)
Plugin provides an easy to use interface to set up automatic email reminder to every project. Every reminder uses a custom query with all their filter options to select issues and performs periodical email transmission on a role basis.
Following intervals are possible:
- Daily (Selecting interval from every 1st day until every 6th day)
- Weekly (Selecting weekday)
- Monthly (Selecting day of the month)
Download the sources and put them to your vendor/plugins folder.
$ cd {REDMINE_ROOT}/plugins
$ git clone https://github.com/Hopebaytech/redmine_issue_reminder.git
Install required gem for plugin
$ bundle install
Install plugin and update DB
$ rake redmine:plugins:migrate
(See also http://www.redmine.org/projects/redmine/wiki/Plugins )
For the periodical transmission a daily cron job has to be created:
If you use system ruby:
$ sudo crontab -e
0 6 * * * cd {REDMINE_ROOT} && rake reminder:exec RAILS_ENV="production" > /dev/null 2>&1
If you use RVM:
$ sudo crontab -e
0 6 * * * {REDMINE_ROOT}/script/mail_reminder.sh > /dev/null 2>&1
$ vim {REDMINE_ROOT}/script/mail_reminder.sh
#!/bin/bash
source {USER_HOME}/.rvm/scripts/rvm
export PATH="$PATH:{USER_HOME}/.rvm/bin"
cd {REDMINE_ROOT}
rake reminder:exec RAILS_ENV=production
Restart Redmine
Enviroment : Winxp + Redmine 1.2.X + Mysql 5.X
- Write a bat file such as these
echo on
cd {REDMINE_ROOT}
rake reminder:exec RAILS_ENV="production"
-
config a schedule just follow this http://www.iopus.com/guides/winscheduler.htm
-
then start the redmine server.
-
The reminder functionality can be activated in each project as module and can be configured through the project menu entry "Reminder Settings".
-
A special right needs to be configured through "Administration -> Roles and permissions" in order to allow project member to edit reminder.
-
Have a fun!
To send test mail without inverval check:
rake reminder:exec[test]
rake reminder:exec[test]
is supposed to have exactly the same behavior as rake reminder:exec
except two things :
- it does always send emails (no matter when the last execution was)
- it does not update the last execution date
The behavior of rake reminder:exec
is to send email only if it is time to send a new email, regarding the interval parameters and the rake reminder:exec[test]
is supposed to send email each times it is executed with a non empty body.
Take a look at the official documentation about custom queries: http://www.redmine.org/projects/redmine/wiki/RedmineIssueList#Custom-queries
Add permission to Your user.
We use redmine internal mail send functions, therefore the outgoing email settings has to be set in config/emai.yml or config/configuration.yml
You need to have a user password set for your windows user in order to use the windows scheduler.
(See also here: http://technet.microsoft.com/en-us/library/cc785125(WS.10).aspx )
- de by Michael Kling
- en by Boško Ivanišević
- sr-YU by Boško Ivanišević
- sr by Boško Ivanišević
Thanks for the contribution.
- Fix: changing interval type updates interval value @ "New reminder"
- Fix: cancel button @ "Edit"
- Fix: load value per reminder @ "Edit"
- Feature:
rake reminder:exec[reset_scheduler]
- Inline CSS from site setting, What You See Is What You Get. Require
$ bundle install
- Add a way to test by rake command
- User can use all queries viviable at redmine page to set reminder.
- Fix async_smtp can't
- Fix compatibility with Redmine 2.5.1
- initial release
- matches the basic requirements