#!/bin/sh
curl -s \
-F "token=xxx" \
-F "user=xxx" \
-F "message=$TR_TORRENT_NAME: $TR_TIME_LOCATION" \
https://api.pushover.net/1/messages.json > dev/null
It is for for Pushover( https://pushover.net/ ).
curl -s \
-F "token=APP_TOKEN" \
-F "user=USER_KEY" \
-F "message=hello world" \
https ...
Search found 4 matches
- Fri Aug 23, 2013 7:57 am
- Forum: Support
- Topic: Transmission - Run CURL script when torrent is done
- Replies: 4
- Views: 5253
- Fri Aug 23, 2013 5:53 am
- Forum: Support
- Topic: Transmission - Run CURL script when torrent is done
- Replies: 4
- Views: 5253
Re: Transmission - Run CURL script when torrent is done
My code:
Found some of the lines online, I did some changes myself. It works when I do sh script.sh
Code: Select all
#!/bin/sh
curl -s \
-F "token=xxx" \
-F "user=xxx" \
-F "message=$TR_TORRENT_NAME: $TR_TIME_LOCATION" \
https://api.pushover.net/1/messages.json > dev/null
- Thu Aug 22, 2013 10:54 pm
- Forum: Support
- Topic: Transmission - Run CURL script when torrent is done
- Replies: 4
- Views: 5253
Re: Transmission - Run CURL script when torrent is done
I have tried chmod 777 script.sh and chmod +x script.sh (No return message)
- Thu Aug 22, 2013 10:28 pm
- Forum: Support
- Topic: Transmission - Run CURL script when torrent is done
- Replies: 4
- Views: 5253
Transmission - Run CURL script when torrent is done
Hey there!
I'm having a little bit of calling my Curl Script. If I use sh script.sh it works. But not unless I do it my self.
This is settings.json
Please help!
I'm having a little bit of calling my Curl Script. If I use sh script.sh it works. But not unless I do it my self.
This is settings.json
Code: Select all
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "~/var/script/script.sh",
Please help!