PDA

View Full Version : Torrent during certain hours



PurposeOfReason
January 12th, 2009, 05:50 AM
Is there a torrent application that I can limit to only run on certain hours? I ask because I'm at uni and there is a ~7 hour window when people can get away with it and I'd like to be able to not have to physically monitor it.

ithanium
January 12th, 2009, 05:55 AM
You can use cron and at for what you want
Read:

man at
man cron

$USER
January 12th, 2009, 05:56 AM
ktorrent allows scheduling if thats what you want

settings > configure ktorrent > plugins > bandwidth scheduler plugins > have fun

ghindo
January 12th, 2009, 06:04 AM
I'm pretty sure that almost any torrent client can be set up to only run during certain hours. What client are you using?

PurposeOfReason
January 12th, 2009, 06:09 AM
Deluge is what I'm most partial too though I can get the best one for the job as long as it is gtk.

PurposeOfReason
January 12th, 2009, 06:59 AM
I like the at command best but when I run it like so:
at -f /usr/bin/deluge -v 9:59pm today

Nothing happens at the time I put.

Polygon
January 12th, 2009, 07:30 AM
the old deluge had a scheduler plugin, but i have not used it in a while so i am not sure if it has been ported to the 1.0 branch

LookTJ
January 12th, 2009, 07:35 AM
I like the at command best but when I run it like so:
at -f /usr/bin/deluge -v 9:59pm today

Nothing happens at the time I put.Have you tried putting the time in a 24 hour format?

at -f /usr/bin/deluge -v 21:59 today or something?

*EDIT*


At allows fairly complex time specifications, extending the POSIX.2
standard. It accepts times of the form HH:MM to run a job at a spe‐
cific time of day. (If that time is already past, the next day is
assumed.) You may also specify midnight, noon, or teatime (4pm) and
you can have a time-of-day suffixed with AM or PM for running in the
morning or the evening. You can also say what day the job will be run,
by giving a date in the form month-name day with an optional year, or
giving a date of the form MMDDYY or MM/DD/YY or DD.MM.YY. The specifi‐
cation of a date must follow the specification of the time of day. You
can also give times like now + count time-units, where the time-units
can be minutes, hours, days, or weeks and you can tell at to run the
job today by suffixing the time with today and to run the job tomorrow
by suffixing the time with tomorrow.

HH:MM is 24 hour format.