aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2df10c6f0e3e01386e3f30b8fc39820a03416ece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# transmission-hacks

Just a bunch of scripts to automate some tasks in transmission.

# Settings

| Variable Name            | Default / Description                                                                                                                  |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| `CRON_LOG_LEVEL`         | `0` / Tell cron what to log about jobs                                                                                                 |
| `CRON_EXPRESSION`        | `*  *  *  *  *` / A cron expression to indicate how often to run **all** scripts                                                       |
| `SCRIPT_TIMEOUT`         | `300` / Per script timeout in seconds                                                                                                  |
| `TRANSMISSION_HOST`      | `localhost` / The host where transmission runs                                                                                         |
| `TRANSMISSION_PORT`      | `9091` / Port where transmission is listening                                                                                          |
| `DELETE_TAG_0_NAME`      | No default. A transmission tag to match torrents and delete by age.                                                                    |
| `DELETE_TAG_0_AGE`       | No default. Time (`1d`, `1w`...etc) string, torrents older than that will be deleted.                                                  |
| `DELETE_UNLINKED_1_NAME` | No default. A transmission tag to match torrents and delete if greater than age and has no links pointing to it.                       |
| `DELETE_UNLINKED_1_AGE`  | No default. No default. Time (`1d`, `1w`...etc) string, torrents older than what will be deleted if there are no links pointing to it. |