Skip to content

Commit

Permalink
feat: Logging torrents status
Browse files Browse the repository at this point in the history
Added `status` metric to InfluxDB

Fields:
- total
- stopped
- check_wait
- check
- download_wait
- download
- seed_wait
- seed

Closes #39
  • Loading branch information
popstas committed Apr 22, 2017
1 parent 27dee60 commit 22d68a5
Show file tree
Hide file tree
Showing 5 changed files with 394 additions and 182 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ source <(transmission-cli _completion --generate-hook)
#### Cron
Then, add to cron tasks like this:
```
PATH="$PATH:/usr/local/bin"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/.config/composer/vendor/bin"
59 * * * * transmission-cli torrent-remove-duplicates --yes --transmission-host=localhost
59 * * * * transmission-cli torrent-remove-duplicates --yes --transmission-host=wrtnsq
0 * * * * transmission-cli stats-send --transmission-host=localhost
Expand Down
Loading

0 comments on commit 22d68a5

Please sign in to comment.