Scheduled download by transmission during nightly hours? (downloading just at a specified period of a day)

19,195

Solution 1

The Speed Limit in Transmission throttles the upload/download speeds during the time set. What you want to do is set the upload/download speed values to 0 and implement that starting at 0800 and end at 0200. That should deactivate all uploads/downloads starting at 8am until 2am the following day.

transmission preference

Solution 2

I was going to use the above scheduled throttling, but thought of something additional and that is to just use the cron daemon via a start and stop: (e.g. Add the following to cron jobs via crontab -e)

 * 2 * * *  sudo service transmission-daemon start
 * 8 * * *  sudo service transmission-daemon stop

for you 2am-8am schedule. Perhaps even start it a little (5 minutes?) earlier/later?

The only problem I see from this though, is that the service won't be running during the day, when you want to add new torrents. So you'd have to start/stop manually whenever you are adding torrents (per "session")

Depending on your habits, this may/may not be convenient...

Share:
19,195

Related videos on Youtube

mini
Author by

mini

Updated on September 18, 2022

Comments

  • mini
    mini almost 2 years

    I want to limit transmission to work at 02:00 AM untill 08:00. How?

  • douggro
    douggro about 11 years
    You can always set a general throttling policy in Transmission to limit bandwidth usage. If you modify the Speed Limits for Scheduled Times: as I explained, that will enable uploads/downloads only between 2am and 8am as you wanted. The settings you had entered disabled uploads/downloads during the time you actually wanted it to be active.
  • douggro
    douggro about 11 years
    No, more like this.
  • duxk.gh
    duxk.gh almost 11 years
    I've just tried this, but it's not an ideal solution I think. Transmission still connects to peers so it's still active. Do you know of a way Transmission is completely inactive between certain periods of the day?
  • Fabby
    Fabby over 9 years
    Welcome to AskUbuntu! ;-) The existing answer is a bit simpler to implement then yours, but yours would consume less memory.. But you need to enable the daemon (which is lacking in your answer) There also is a spelling error in your output and your answer does not contain the crontab command to make this work. Therefore: please update your answer to make it a full-fledged working solution and drop me a note @Fabby so I can upvote it, or delete this answer altogether to get rid of the negative reputation points you now got...
  • Matt C
    Matt C over 9 years
    Thanks. The spelling was a bad typo, sorry. I've assumed the OP already has the daemon enabled etc, but added what I thought you meant about crontab command... My answer was really intended as a response to the comment from @duxk.gh - but Stack exchange doesn't let those under 30rep comment (but I can answer?)
  • Fabby
    Fabby over 9 years
    There. made it a bit more "professional" and upvoted. Always use the logic of the person asking 2AM-8AM, so also put the start/stop in that order... Review my edits: askubuntu.com/posts/581994/revisions
  • azerafati
    azerafati over 7 years
    I'm on ubuntu 16.04 and there is no service with that name transmission-daemon ??
  • Salem F
    Salem F over 5 years
    @Fabby the graphic UI didn't works from me , and it more confuse even I select slow download transmitter still download the files on day time ! Sadly this solution didn't work wither I got Failed to start transmission-daemon.service: Unit transmission-daemon.service not found.
  • Fabby
    Fabby over 5 years
    @SalemF That would be a new question. ;-) Please provide a link to this question if it would provide context.
  • Salem F
    Salem F over 5 years
    No need I just have to install it manually sudo apt-get install transmission-cli transmission-common transmission-daemon
  • andromeda
    andromeda over 5 years
    The daemon starts only when running cron as root sudo crontab -e However, my already loaded torrents are not running when the daemon starts (they only run when I launch the gui version of transmission). Any idea how to solve this? @Fabby