Changes

From Amahi Wiki
Jump to: navigation, search
1,072 bytes added ,  09:09, 15 January 2012
no edit summary
c) Open a .torrent file or enter a torrent URL in the Web Interface.</blockquote>
 
= Prevent email reports from the transmission-daemon =
 
Transmission installs a cronjob that checks a preset folder every xx minutes for torrent files. If a torrent-file is present it will automatically start the download for you and delete the torrent file. In some cases you might receive email reports when the folder is empty. You can edit the cronjob to make sure no reports are sent when the cronjob is run.
 
cronjob can be found here:
/etc/cron.d/amahi-transmission-watch
 
and it look like this:
{{Text|
# watch for torrent files in the torrents directory
*/2 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent && rm -f /var/hda/files/torrents/*.torrent
}}
 
add ">/dev/null 2>&1" to the end of both commands and reports will be prevented in the future, like this:
{{Text|
# watch for torrent files in the torrents directory
*/2 * * * * transmission transmission-remote localhost:9091 -a /var/hda/files/torrents/*.torrent >/dev/null 2>&1 && rm -f /var/hda/files/torrents/*.torrent >/dev/null 2>&1
}}
1

edit