aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Events on amuled  (Read 1924 times)

Crakem

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 103
Events on amuled
« 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
...

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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Events on amuled
« Reply #1 on: September 22, 2008, 10:31:50 PM »

The problem is you are using an outdated SVN version. See here.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Events on amuled
« Reply #2 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?
Logged