aMule Forum

English => aMule Help => Topic started by: Crakem on September 22, 2008, 10:27:04 PM

Title: Events on amuled
Post by: Crakem on September 22, 2008, 10:27:04 PM
...
Since I already made some fixes to it, I decided to put it on the wiki. Since there is no page for Events, I created a very rudimentary one:

http://www.amule.org/wiki/index.php/Events (http://www.amule.org/wiki/index.php/Events)
...

I'm testing events but I could get it working on amuled CVS-20 February 2008, my code on amule.conf:
Code: [Select]
[UserEvents]
[UserEvents/DownloadCompleted]
CoreEnabled=1
CoreCommand=/bin/sh -c "echo -e \"Subject: Download complete \\n\\n File was: %NAME (size:%SIZE) Con hash: %HASH\" | esmtp <mail>"
GUIEnabled=0
GUICommand=
Please someboy see the problem?
I have testes too:
CoreCommand=echo -e \"Subject: Download complete \\n\\n File was: %NAME (size:%SIZE) Con hash: %HASH\" | esmtp <mail>

As wiki says but nothing works (I found error on log)
Thanks for replies.
Title: Re: Events on amuled
Post by: Stu Redman on September 22, 2008, 10:31:50 PM
The problem is you are using an outdated SVN version. See here (http://forum.amule.org/index.php?topic=15834.0).
Title: Re: Events on amuled
Post by: wuischke on September 22, 2008, 11:14:56 PM
This is not the infamous Ubuntu version.

Could you please try to put the commands in a script and calling the script?