Project

General

Profile

Redmine doesn't seem to be sending emails when updating issues via fetch_changesets from cron

Added by the fury almost 9 years ago

Running Ubuntu server 14.04.2, Redmine 3.0.3 on Apache 2.4.7 w/ Passenger mod (5.0.6)

I'd like for commits to my git repo to automatically be fetched, so I have this cron job running every minute (probably a bit wasteful, but I'm not sure exactly how to do it with a git hook)

  • * * * * /bin/bash -l -c 'source $HOME/.bash_profile && rake -f /home/me/redmine-3.0/Rakefile RAILS_ENV=production redmine:fetch_changesets' > /home/me/gitcron.log

It gets the changesets and updates issue statuses accordingly (e.g. sets to Resolved, 100%, makes an entry in the issue comments), but it doesn't email issue watchers / people signed up for the firehose. All the other emailing functions of Redmine seem to work, including if I manually fetch the repository by going to the repository tab in my project, it's just that it doesn't work from the cron job.

Emails are configured as async SMTP

Any ideas?