Schedule transmission bittorrent

October 7th, 2008

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
    1. Lanei
      February 15th, 2009 at 23:43 | #1

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

    2. February 21st, 2009 at 08:37 | #2

      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
      March 17th, 2009 at 23:27 | #3

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

    1. No trackbacks yet.