RedmineReminderEmails » History » Version 2

Eric Davis, 2010-10-13 17:23
Adding users option

1 1 Jean-Philippe Lang
h1. Sending reminder emails
2 1 Jean-Philippe Lang
3 1 Jean-Philippe Lang
Redmine offers a rake task that send reminder emails about issues due in the next days.
4 1 Jean-Philippe Lang
5 1 Jean-Philippe Lang
Available options:
6 1 Jean-Philippe Lang
7 1 Jean-Philippe Lang
* days: number of days to remind about (defaults to 7)
8 1 Jean-Philippe Lang
* tracker: id of tracker (defaults to all trackers)
9 1 Jean-Philippe Lang
* project: id or identifier of project (defaults to all projects)
10 2 Eric Davis
* users: comma separated list of user ids who should be reminded
11 1 Jean-Philippe Lang
12 1 Jean-Philippe Lang
The following example will send an email to each user who have assigned issues that are due in the next 7 days:
13 1 Jean-Philippe Lang
14 1 Jean-Philippe Lang
  rake redmine:send_reminders days=7 RAILS_ENV="production"
15 2 Eric Davis
16 2 Eric Davis
The following example will send an email to users *1, 23, and 56* who have assigned issues that are due in the next 7 days:
17 2 Eric Davis
18 2 Eric Davis
  rake redmine:send_reminders days=7 users="1,23, 56" RAILS_ENV="production"