For Comparison...
# Redmine 7day reminders...
Code:
00 09 * * Mon /var/www/html/extra/issue_reminders.sh > /dev/null 2>&1
issue_reminders.sh
Code:
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
cd /var/www/html/; /usr/bin/bundle exec rake redmine:send_reminders days=7 RAILS_ENV="production"
Running redmine 3.20 on Ubuntu 14.04.5 LTS
Your path to the rake exec looks "off", that is
Code:
/home/centos/.rvm/gems/ruby-2.2.5/bin/rake
and I don't believe it's an "OS thing".
You could try adding a similar statement such as the one I've used, in your cron environment...
Code:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Verify executable using whereis (or locate on CentOS...)
Code:
whereis rake bundle ruby
Hope that helps.