fetch_changesets task when run from cron doesn't generate emails when issue is fixed by commit

Added by the fury almost 7 years ago

I can't seem to figure out why fetch_changesets won't generate email notifications when an issue gets fixed by a commit. It works fine if the repository is refreshed from the website, but not if the repository is refreshed from that task in cron.

I have another cron task set to receive emails, and that works fine when an issue is replied to via email, the email notification goes through fine. So what's different between redmine:fetch_changesets and redmine:email:receive_imap that makes the former not able to generate notification emails from cron?

Thanks in advance!