Project

General

Profile

[solved] reminder doesn't do nothing

Added by [ Desperados ] over 6 years ago

hi
I've many issues with NO due date, 2 with past due date (march and june 2017), 1 with future date (tomorrow)
this is the command I launch:

#!/bin/bash
cd /var/www/rails/redmine/current/
bundle exec rake redmine:send_reminders days=10 project=99 users=47 RAILS_ENV="production" 

but nothing happens, no logs, no errors
what's wrong?
thanks

PS tried with 1,7,100 days


Replies (3)

RE: reminder doesn't do nothing - Added by Bernhard Rohloff over 6 years ago

Do you execute this command directly from a terminal session, or in a cronjob?

RE: [solved] reminder doesn't do nothing - Added by [ Desperados ] over 6 years ago

solved, i've fixed the path and id, i've noticed them after launching the command from terminal instead of cronjob

working:

#!/bin/bash
/usr/local/bin/rake -f /var/www/rails/redmine/current/Rakefile redmine:send_reminders days=10 project=132 users="21,50" RAILS_ENV="production" 

RE: [solved] reminder doesn't do nothing - Added by [ Desperados ] over 6 years ago

can I send emails to other users besides owner? to observers for example?

    (1-3/3)