Skip to content
Caio Dias edited this page May 14, 2020 · 5 revisions

Plugin Scheduler

Description

You can enable the scheduler and click the cells to define any of six rtorrent behavior types at each particular hour of 168 week hours.

  • Unlimited - use predefined UL/DL limits. Default - a VeryBigNumber.
  • Turn off - stop all torrents.
  • Seeding only - stop all torrents, then start all torrents stopped by the plugin using predefined UL speed limit (Default - a VeryBigNumber).
  • Limited1, Limited2, Limited3 - use speed limits defined in fields below. "0"-value, conventionally for rtorrent, means "no limits", but not "stop torrent".

How does it work

When ruTorrent starts with installed Scheduler plugin first time it sends a command to the rtorrent scheduler, which begins to call a dedicated script periodically. This script in its turn does all the work. Once again - the poll begins only after first start of the ruTorrent. I.e. there will be no any useful action between start of rtorrent and then first start of ruTorrent. To avoid this, a special string should be added to the rtorrent configuration file (see How to start plugins with rtorrent for details).

Additional plugin adjustment

Should be done in the file plugins/scheduler/conf.php.

  • SCH_DEF_DL - the constant defines DL speed limit which is used in the Unlimited mode. Default - a VeryBigNumber.
  • SCH_DEF_UL - the constant defines UL speed limit which is used in the Unlimited mode. Default - a VeryBigNumber.
  • $updateInterval - the variable sets the time interval between calls of the script by rtorrent scheduler (in minutes). Default - 1 hour.
Clone this wiki locally