Project

General

Profile

changeSet after_create works in browsing, but not through script

Added by GJ Roelofs over 13 years ago

Hi,

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.


Replies (1)

RE: changeSet after_create works in browsing, but not through script - Added by GJ Roelofs over 13 years ago

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)

    (1-1/1)