Page 1 of 1

linux how to start and stop transmission 2.77 (14031)

Posted: Fri Oct 04, 2013 11:38 pm
by klein
I lost a hard drive the other day and had to replace it, when reinstalling
ubuntu 10.04.4 32bit, and transmission i was having
trouble getting pause and resume to work through crontab. so i added
the ppa:transmissionbt/ppa repository. but my pause and resume scripts
are not working with this version 2.77 of transmission either.



crontab entry
01 2 * * * root /usr/mysbin/transresume.sh

my script
#!/bin/sh
/usr/bin/transmission-remote -tall -s
date >> /home/klein/Desktop/tyler
echo "transmission resume" >> /home/klein/Desktop/tyler



crontab entry
01 7 * * * root /usr/mysbin/transpause.sh

my script
#!/bin/bash
/usr/bin/transmission-remote -tall -S
date >> /home/klein/Desktop/tyler
echo "transmission pause" >> /home/klein/Desktop/tyler


i have been looking at this page (http://rpm.pbone.net/index.php3/stat/45 ... ion-remote) and have tried in my terminal:
transmission-remote -tall -s
transmission-remote -tall --start

it keeps giving me this in my terminal:
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized Usert: */*
Accept-Encoding: deflate, gzip
Content-Length: 41
Content-Type: application/x-www-form-urlencoded

{"arguments":{},"method":"torrent-start"}



transmission-remote -tall -S
transmission-remote -tall --stop

it keeps giving me this in my terminal:
Unexpected response: <h1>401: Unauthorized</h1>Unauthorized Usert: */*
Accept-Encoding: deflate, gzip
Content-Length: 41
Content-Type: application/x-www-form-urlencoded

{"arguments":{},"method":"torrent-stop"}

i'm not sure what to do with is i'v never seen it come up before. all
i need is to be able to start and stop all the torrents at a cretin time every night.

Re: linux how to start and stop transmission 2.77 (14031)

Posted: Sun Oct 06, 2013 6:06 pm
by klein
could some one point me in the right direction or explain what i'm doing wrong ?

Re: linux how to start and stop transmission 2.77 (14031)

Posted: Sun Oct 06, 2013 7:12 pm
by klein
thank you x190
that is quite a bit different, seems to be getting a lot more complicated .

Re: linux how to start and stop transmission 2.77 (14031)

Posted: Tue Oct 08, 2013 1:04 pm
by klein
being this has become so complicated to pause and resume transmission is there a way to go back to transmission 2.31 (12441)in ubuntu 10.04 or at least get back to something that works with cron ?