Transmission Blocklist Update

Status
Not open for further replies.

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
So, I have a good blocklist for transmission but it seems that the list is not updated unless told to.

So, I did the following in FreeNAS as root:
Code:
touch /mnt/tank/Jail/transmission_1/media/update_block_list.sh
chmod +x /mnt/tank/Jail/transmission_1/media/update_block_list.sh

Then I added the following to the script:
Code:
#!/bin/sh
transmission-remote -n <user>:<password> --blocklist-update

finally I added the following to the root user's crontab in the Transmission jail:
Code:
0 0 * * 0 sh /media/update_block_list.sh


My question is: will this work? If so, cool. If not, any suggestions? When I run the script, I get the following which is promising:
Code:
localhost:9091/transmission/rpc/ responded: "success"


Anywhoo, thought I would ask.

Cheers,
 
Last edited:

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I don't know about the script but as for updating I typically only update my list manually as it's restricted now for bandwidth purposes.. So only one update per week etc..

Sent from my SGH-I257M using Tapatalk 2
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Ahh, I will change the cron to weekly so I do not cause issues with bandwidth.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ahh, I will change the cron to weekly so I do not cause issues with bandwidth.
what you have looks fine, but you could lose this script and just put the command directory in the crontab, would save you a step and a file in the process
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
I though you could put commands right in the crontab but was not sure. Thanks for that info. I am just so used to making little scripts it was habit.

Cheers,
 
Status
Not open for further replies.
Top