1

Я пытаюсь использовать RtControl для автоматического удаления торрентов старше определенного времени. Тем не менее, моя команда не работает, и когда я пытаюсь либо rtcontrol -q -o completed \* либо rtcontrol -q -o loaded \* оба показывают «никогда» для каждого отдельного торрента, даже если все они завершены, как подтверждено rtcontrol is_complete=yes . Я использую ruTorrent для управления rTorrent, может ли это быть проблемой?

1 ответ1

2

Вам необходимо включить стандартный конфиг (чтобы у вас был готовый обработчик событий) и зафиксировать время для любых существующих элементов в соответствии с документацией.

#
# PyroScope SETTINGS
#

# Set "pyro.extended" to 1 to activate rTorrent-PS features!
# LEAVE THIS AT 0 IF YOU RUN A VANILLA rTorrent!
system.method.insert = pyro.extended, value|const, 0

# Set "pyro.bin_dir" to the "bin" directory where you installed the pyrocore tools!
# Make sure you end it with a "/"; if this is left empty, then the shell's path is searched.
system.method.insert = pyro.bin_dir, string|const,

# Remove the ".default" if you want to change something (else your
# changes get over-written on update).
system.method.insert = pyro.rc_dialect, string|const|simple, "execute_capture=bash,-c,\"test $1 = 0.8.6 && echo -n 0.8.6 || echo -n 0.8.9\",dialect,$system.client_version="
system.method.insert = pyro.rtorrent_rc, string|const|private, "$cat=~/.pyroscope/rtorrent-,\"$pyro.rc_dialect=\",.rc.default"
import = $pyro.rtorrent_rc=

# TORQUE: Daemon watchdog schedule
# Must be activated by touching the "~/.pyroscope/run/pyrotorque" file!
# Set the second argument to "-v" or "-q" to change log verbosity.
schedule = pyro_watchdog,30,300,"pyro.watchdog=~/.pyroscope,"

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .