diff --git a/redmine/defaults/main.yml b/redmine/defaults/main.yml index 91248d7e..2fddbab9 100644 --- a/redmine/defaults/main.yml +++ b/redmine/defaults/main.yml @@ -29,9 +29,11 @@ rm_scrum2b_plugin: False rm_autowatcher_plugin: False rm_issuereminder_plugin: False # https://github.com/arkhitech/redmine_update_reminder +# We configure to send the email reminders once a week on monday morning by default rm_updatereminder_plugin: False rm_updatereminder_plugin_freq_min: 0 -rm_updatereminder_plugin_freq_hour: 0 +rm_updatereminder_plugin_freq_hour: 5 +rm_updatereminder_plugin_freq_weekday: 1 rm_mention_plugin: False rm_mentions_plugin: False rm_defaultcustomquery_plugin: False diff --git a/redmine/templates/redmine-ldap-sync.cron.j2 b/redmine/templates/redmine-ldap-sync.cron.j2 index 3053e5b8..7243d795 100644 --- a/redmine/templates/redmine-ldap-sync.cron.j2 +++ b/redmine/templates/redmine-ldap-sync.cron.j2 @@ -1 +1 @@ -*/{{ redmine_ldap_sync_freq }} * * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1 +*/{{ redmine_ldap_sync_freq }} * * * * {{ redmine_user }} /usr/local/bin/rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent redmine:plugins:ldap_sync:sync_users RAILS_ENV=production >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-ldap-sync.log 2>&1 diff --git a/redmine/templates/redmine_update_reminder.cron.j2 b/redmine/templates/redmine_update_reminder.cron.j2 index b657dc9d..d137e557 100644 --- a/redmine/templates/redmine_update_reminder.cron.j2 +++ b/redmine/templates/redmine_update_reminder.cron.j2 @@ -1 +1 @@ -{{ rm_updatereminder_plugin_freq_min }} {{ rm_updatereminder_plugin_freq_hour }} * * * {{ redmine_user }} rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent RAILS_ENV=production redmine_update_reminder:send_reminders >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-update_send_reminders.log 2>&1 +{{ rm_updatereminder_plugin_freq_min }} {{ rm_updatereminder_plugin_freq_hour }} * * {{ rm_updatereminder_plugin_freq_weekday }} {{ redmine_user }} /usr/local/bin/rake -f {{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/Rakefile --silent RAILS_ENV=production redmine_update_reminder:send_reminders >{{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/log/redmine-update_send_reminders.log 2>&1