Jump to content

"Running script" after torrent download is completed not working


prps

Recommended Posts

Hi all,

I've installed uTorrent v3.0 (build 27079) on my Ubuntu 10.04 headless server and I'm having problems getting the "Run program after torrent finishes downloading" function to work.

Here's an output from the logs:

[02:02:37]  Executing: echo "test" >> /tmp/debug.log
[02:02:47] Executing: echo "test" >> /tmp/debug.log

However, when I look into the debug.log:


user@server:/tmp$ cat /tmp/debug.log
user@server:/tmp$

The log is empty, which means that the echo is not working. Running this command on the command line works of course fine. I've tried to check if this has do to with permissions but uTorrent is running as "user" also.

I've searched around the forums but there was no clear answer around this. Anyone had the same problems? How can I fix it?

Thanks a lot for your help.

/P

Link to comment
Share on other sites

  • 4 months later...
[02:02:37]  Executing: echo "test" >> /tmp/debug.log
[02:02:47] Executing: echo "test" >> /tmp/debug.log

Try:

/bin/echo "test" >> /tmp/debug.log

.

uTorrent Server runs your requested command line via exec of that command line. It doesn't wrapper your command line with a shell command. Include absolute paths on all commands.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...