Impossible to schedule 'off' time?

Linux specific questions, problems.
Post Reply
discmeister

Impossible to schedule 'off' time?

Post by discmeister »

Hi all,

I'm trying to convert my server at home from running D*l*ge to qBittorrent headless, which looks a great bit of software. Am really liking the WebUI - good work to all concerned!

I'd just like to check one small thing: is it definitely impossible to set a scheduled alternative global download/upload rate of 0kbps? I ask because I like my server running all day, and the torrent software running all day (so that I can add directly from links within my browser using one of the Firefox or Chrome plugins/extensions) - BUT with bandwidth throttled completely between 7am and midnight. So I can add files in the evening, they queue up etc, and then when I'm asleep, the system turns on the taps...

From a bit of searching around these forums, I see some people before have asked about limiting the download speed to 0kbps in the scheduler section, but the answer seemed to be, 'Schedule the OS to turn qBittorrent on and off' - which wouldn't really work for my needs...

Interested to hear anyone's thoughts. I suppose one way of achieving the same thing would be to have alternative numbers of active torrents?

Kind regards to all,

Discy
Last edited by discmeister on Wed May 01, 2013 7:29 pm, edited 1 time in total.
loki

Re: Impossible to schedule 'off' time?

Post by loki »

I'm pretty sure the lowest you can set is 1kb/s.

That is an interesting idea to have the scheduler give less active torrents, essentially allowing a "pause" option.
discmeister

Re: Impossible to schedule 'off' time?

Post by discmeister »

Is there any chance that could be incorporated as an alternative to setting 1kb/s? Both Transmission and Deluge allow you to 'pause' - it'd be awesome if qBittorrent could do the same while still offering its own blend of other features, light footprint and performance...
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: Impossible to schedule 'off' time?

Post by sledgehammer_999 »

I think that a scheduler is a must have feature, but currently no one is available to implement new features. We mainly maintain qbt and fix bugs.
jacquesbezuidenhout

Re: Impossible to schedule 'off' time?

Post by jacquesbezuidenhout »

Hi,

I see the post is old, but hopefully the next person can use it. My situation is similar to yours. I want to stop downloads at 5:50am, and start again at 6:10pm. My first workaround was to edit /etc/crontab, and start/stop the daemon. This is what I added:
# Workdays, Mon - Fri. Stop qbittorrent 5:50 am, start it at 6:10 pm (18:10)
50 5 * * 1 /etc/init.d/qbittorrent-nox-daemon stop
50 5 * * 2 /etc/init.d/qbittorrent-nox-daemon stop
50 5 * * 3 /etc/init.d/qbittorrent-nox-daemon stop
50 5 * * 4 /etc/init.d/qbittorrent-nox-daemon stop
50 5 * * 5 /etc/init.d/qbittorrent-nox-daemon stop

10 18 * * 1 /etc/init.d/qbittorrent-nox-daemon start
10 18 * * 2 /etc/init.d/qbittorrent-nox-daemon start
10 18 * * 3 /etc/init.d/qbittorrent-nox-daemon start
10 18 * * 4 /etc/init.d/qbittorrent-nox-daemon start
10 18 * * 5 /etc/init.d/qbittorrent-nox-daemon start

But reading your problem, I have the same one - I want sickrage to add torrents during the day, but not download, so the above will not do the trick for me. The following, is by no means a fix, but rather a terrible workaround :-/

Your config for qbittorrent is stored in ~/.config/qBittorrent/qBittorent.conf
I feel very ashamed for this fix, but the simple answer is, break the config file, and copy the broken one, using the first crontab in the morning to that location, and then copy the working one back at night. Change something like add a socks5 proxy with a local IP that doesn't exist, like 1.2.3.4, which you will use as the broken config.
Siban

Re: Impossible to schedule 'off' time?

Post by Siban »

Hello, I can't find an answer anywhere for this:

Is it possible to schedule a shutdown of qBittorrent from within the client? Or should I just set a Windows task to close it? If I use Windows to do it, will it corrupt the torrent information?
ciaobaby

Re: Impossible to schedule 'off' time?

Post by ciaobaby »

will it corrupt the torrent information?
Probably.
Is it possible to schedule a shutdown of qBittorrent from within the client?
Tools -> On downloads ....
Post Reply