[Libtorrent-devel] any way to schedule based on day of week?

Josef Drexler jd284 at cornell.edu
Wed Mar 7 05:43:59 UTC 2007


Jason wrote:
> I solved this by running rtorrent in a screen session named "torrent"
> then setting up a cron job that ran this command:
> 
> screen -S torrent -X eval 'stuff \"ccccssss\"'

A slightly more reliable way to do the same would be

screen -S torrent -X eval 'stuff ^Xupload_rate=35^M'

(where ^X and ^M control characters; use ^P for older rtorrent versions)

Then the resulting upload rate is independent of whatever setting it may
have had before.

-- 
Josef Drexler


More information about the Libtorrent-devel mailing list