Compare commits
3 Commits
2213a0655d
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 36d9692086 | |||
| 4416ebd924 | |||
| acaf91a301 |
@@ -1,7 +1,7 @@
|
|||||||
# qbit-maid
|
# qbit-maid
|
||||||
> Warning: This application removes torrents that are over the minimum age and that are not part of the ignored categories, domains or tags. Please use the delete_torrents feature set to false when first testing its functionality.
|
> Warning: This application removes torrents that are over the minimum age and that are not part of the ignored categories, domains or tags. Please use the delete_torrents feature set to false when first testing its functionality.
|
||||||
|
|
||||||
[](https://drone.jonb.io/jblu/qbit-maid)
|

|
||||||
|
|
||||||
The objective is to remove torrents based on the following criteria:
|
The objective is to remove torrents based on the following criteria:
|
||||||
- tracker domain name
|
- tracker domain name
|
||||||
|
|||||||
+2
-2
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
CRON_CONFIG_FILE="/etc/crontabs/root"
|
CRON_CONFIG_FILE="/etc/crontabs/root"
|
||||||
|
|
||||||
echo "${CRON} python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
grep -qF 'python /opt/qbit-maid.py' $CRON_CONFIG_FILE || echo "${CRON} python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||||
echo "@reboot python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
grep -qF '@reboot' $CRON_CONFIG_FILE || echo "@reboot python /opt/qbit-maid.py" >> $CRON_CONFIG_FILE
|
||||||
|
|
||||||
exec crond -f
|
exec crond -f
|
||||||
Reference in New Issue
Block a user