zabi Posted October 14, 2013 Report Share Posted October 14, 2013 HelloI am using utserver µTorrent Server 64-bit (3.0 build 27079) on ubuntu 12.04 and I would like a notification when torrent is complete. That is why I wrote my one script #!/bin/bashnotify-send "Torrent is complete." -i utorrent-iconThan I added that script in a “Run this program when a torrent finishes:” line, but nothing happens. When I run the script from the terminal the notification is shown. The log file says that the script has been executed Executing: /home/blaz/.uTorrent-linux/notification.shso I assume that the problem is with the script. Is there a special language in witch the script must be written?Thank you for your help. Link to comment Share on other sites More sharing options...
mcdonald Posted November 7, 2013 Report Share Posted November 7, 2013 I would like a notification when torrent is complete. That is why I wrote my one script #!/bin/bashnotify-send "Torrent is complete." -i utorrent-iconYour script looks OK (assuming notify-send is in the PATH).Than I added that script in a “Run this program when a torrent finishes:” line, but nothing happens. When I run the script from the terminal the notification is shown. The log file says that the script has been executed Executing: /home/blaz/.uTorrent-linux/notification.shso I assume that the problem is with the script.It's not the script - it's how you run the script. You'll need to specify the following to uTorrent Server: /bin/bash /home/blaz/.uTorrent-linux/notification.shuTorrent Server runs the command line as you specify, not through a shell. Is there a special language in witch the script must be written?No. You just need to set up the run of a shell script by specifying the shell, not the script itself, as the executable. Link to comment Share on other sites More sharing options...
Dannermax Posted January 26, 2014 Report Share Posted January 26, 2014 So is there a script out there if i wanted to be notified by a push message on my iphone or of that is not possible, recieve an email with the notification? Hope someone knowns.Thanks a million!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.