{{# Template example that is similar to the rtorstat output. See http://www.codetrax.org/projects/rtorstat Use it in a cronjob like this: rtcontrol -qO rtorstat.html done=-100 OR xfer=+0 -sdone >/var/www/cron/rtorrent.html }}{{py: import time }}{{def title}} rTorrent {{proxy.system.client_version()}}/{{proxy.system.library_version()}} - {{proxy.session.name()}} - up {{(time.time() - proxy.startup_time()) | duration}} {{enddef}}{{def show(loop, d)}}