Difference between revisions of "Transmission"

From Organic Design wiki
(Running on a server: intro)
m (Starting and stopping on schedule: torrent plans from 2-8 now)
Line 4: Line 4:
 
To run ''transmission'' from the [[w:crontab|crontab]] (''/etc/crontab''), it must be associated with a display as in the following example. The first line starts ''transmission'' at midnight, and the second stops it at 8am. Edit the crontab with '''sudo nano /etc/crontab''', and add the following lines (replace ''username'' with your Linux username).
 
To run ''transmission'' from the [[w:crontab|crontab]] (''/etc/crontab''), it must be associated with a display as in the following example. The first line starts ''transmission'' at midnight, and the second stops it at 8am. Edit the crontab with '''sudo nano /etc/crontab''', and add the following lines (replace ''username'' with your Linux username).
 
<pre>
 
<pre>
0 0 * * * username transmission --display=:0
+
0 2 * * * username transmission --display=:0
 
0 8 * * * username transmission --display=:0 --quit
 
0 8 * * * username transmission --display=:0 --quit
 
</pre>
 
</pre>

Revision as of 12:06, 12 April 2009

Transmission is the default P2P torrent downloading application that comes with Ubuntu.

Starting and stopping on schedule

To run transmission from the crontab (/etc/crontab), it must be associated with a display as in the following example. The first line starts transmission at midnight, and the second stops it at 8am. Edit the crontab with sudo nano /etc/crontab, and add the following lines (replace username with your Linux username).

0 2 * * * username transmission --display=:0
0 8 * * * username transmission --display=:0 --quit

Now press CTRL + O and then hit return to save your changes to the file.

Running on a server

transmission-daemon is a daemon-based Transmission session that can be controlled via RPC commands from transmission's web interface or transmission-remote. transmission-remote is a remote control utility for Transmission and transmission-daemon. By default, transmission-remote connects to the Transmission session at localhost:9091. Other sessions can be controlled by specifying a different host and/or port.

See also