changeSet after_create works in browsing, but not through script
I have worked on getting the Diff mail plugin running again, and have succeeded partially.
The plugin works fine when I go to the website and scan through the project; eg.: it will send a diff email succesfully.
Only when I update repository changes periodically through crontab with:
ruby script/runner "Repository.fetch_changesets" -e production
The projects are updated, but no email is sent.
Any help in the matter would be greatly appreciated.
Well.. for anyone interested, or stuck in a similar issue, the following does work:
curl http://<site>/sys/fetch_changesets?key=WSAPIKEY | /dev/null
(in a crontab job)