Schedule transmission bittorrent

Problem

Transmission doesn’t include any scheduling functionality to start/stop/trottle torrents during the day/week.

Solution

Don’t run the gui client. Instead (or as well) invoke transmission-daemon from the command line and use crontab to apply the schedule via transmission-remote

Method

  1. Install the transmission-cli package corresponding to your Operating System
  2. Start transmission-daemon eg:
    transmission-daemon -f -g /home/torrentuser/transmission-config -w /home/torrentuser/incoming
  3. Test it is running by opening a browser and visiting http://localhost:9091
  4. Play with transmission-remote to get a feel for what you can do. eg: start and stop all torrents…
    transmission-remote -t all -s
    transmission-remote -t all -S
  5. Setup your schedule in Cron with crontab
    eg: to start all torrents at 2:02AM every day and stop them at 11:58AM…
    crontab -e
    02 02 * * * /usr/bin/transmission-remote -t all -s
    58 11 * * * /usr/bin/transmission-remote -t all -S
  6. optional: You might also play with at for scheduling once off tasks
    This entry was posted in geek and tagged . Bookmark the permalink.

    3 Responses to Schedule transmission bittorrent

    1. Lanei says:

      This is great! thanks for the tips, it’s getting me started on wrangling my willful ubuntu system!

    2. Luke says:

      By the way, if you want to have it throttle, rather than stop entirely, based on a schedule, you can use the following command:
      /usr/bin/transmission-remote -u 100

      Moreover, you might want to look into http://gnome-schedule.sourceforge.net/ , which allows for a cool GUI for editing crontab.

    3. swivelsnoot says:

      thanks for the website John!
      Some very handy tips here.
      and thanks Luke throttling is a good addition.

    Leave a Reply

    Your email address will not be published.

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>