LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2008, 04:09 AM   #1
Grizz54
LQ Newbie
 
Registered: Sep 2008
Location: The Rock, NSW, Australia
Distribution: Ubuntu 8.04
Posts: 12

Rep: Reputation: 0
Controlling torrent downloads with cron


I have a headless server running Ubuntu 8.04, no graphics, minimum install with LAMP server installed. Have Clutch running to download torrents, but want to only run it during my ISPs offpeak times. Was thinking that cron may be the way to go, but need advice on how to set it up. Should I make it open and close clutch at the specific times, or transmission? I think that it should work just turning transmission on and off and using Clutch to tell what torrents transmission should download. Would I be able, though, to use Clutch to tell transmission to download a torrent even when transmission was turned off during the peak download times?

Sorry if these seem to be really simple questions, but I've never setup a computer with command line access only.
 
Old 09-21-2008, 05:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Grizz54 View Post
Was thinking that cron may be the way to go, but need advice on how to set it up. Should I make it open and close clutch at the specific times, or transmission? I think that it should work just turning transmission on and off and using Clutch to tell what torrents transmission should download.
Check out the commandline 'transmission-remote'? With it you can signal 'transmission-daemon' to start or stop seeding and downloading torrents.


Quote:
Originally Posted by Grizz54 View Post
Would I be able, though, to use Clutch to tell transmission to download a torrent even when transmission was turned off during the peak download times?
As far as I know seeding and downloading torrents is just one function. transmission-daemon, as the name implies is a background process waiting eternally for commands. Hence stopping seeding and downloading torrents should not mean the transmission-daemon is dead and gone. Anyway, the fun part of GNU/Linux is that you can test, experiment and experience things yourself for free. So just try it, I'd say and post back your findings.
 
Old 09-21-2008, 06:26 AM   #3
Grizz54
LQ Newbie
 
Registered: Sep 2008
Location: The Rock, NSW, Australia
Distribution: Ubuntu 8.04
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks unSpawn. I seem to be able to download and upload files, but using:/
sudo /usr/bin/transmission-remote --stop all

doesn't seem to stop the torrents.
 
Old 09-21-2008, 06:33 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Prolly a syntax error. Check if you need to add any auth info and such. Else check logs for errors?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Headless torrent downloads with rTorrent and Screen LXer Syndicated Linux News 0 06-12-2008 07:00 PM
Slackware 12.1 torrent downloads cd/dvd onebuck Slackware 65 05-06-2008 11:10 AM
Torrent downloads terrible slow in Ubuntu 7.10 Anubis Ubuntu 6 11-04-2007 11:20 AM
extracting compressed torrent downloads that are password protected aw76 Linux - General 2 11-26-2005 04:21 AM
[Torrent] CRON and Console commands Tanc Linux - Newbie 1 05-26-2005 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration