[Libtorrent-devel] any way to schedule based on day of week?
ipsecsa at gmail.com
Sat Mar 10 00:08:10 UTC 2007
Thanks Josef, Jason and Dan for this thread. Very useful info.
From: libtorrent-devel-bounces at rakshasa.no
[mailto:libtorrent-devel-bounces at rakshasa.no] On Behalf Of Josef Drexler
Sent: Wednesday, 7 March 2007 4:44 PM
To: libtorrent-devel at rakshasa.no
Subject: Re: [Libtorrent-devel] any way to schedule based on day of week?
> 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.
Libtorrent-devel mailing list
Libtorrent-devel at rakshasa.no
More information about the Libtorrent-devel