Update QueueCleaner.bash
This commit is contained in:
parent
34a1016ecf
commit
3eb64d675c
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
scriptVersion="1.0.6"
|
scriptVersion="1.0.7"
|
||||||
|
|
||||||
######## Settings
|
######## Settings
|
||||||
scriptInterval="15m"
|
scriptInterval="15m"
|
||||||
|
@ -111,6 +111,7 @@ arrName="$(cat /config/config.xml | xq | jq -r .Config.InstanceName)"
|
||||||
if [ "$arrName" == "Sonarr" ] || [ "$arrName" == "Radarr" ] || [ "$arrName" == "Lidarr" ]; then
|
if [ "$arrName" == "Sonarr" ] || [ "$arrName" == "Radarr" ] || [ "$arrName" == "Lidarr" ]; then
|
||||||
for (( ; ; )); do
|
for (( ; ; )); do
|
||||||
let i++
|
let i++
|
||||||
|
log "Starting..."
|
||||||
QueueCleanerProcess
|
QueueCleanerProcess
|
||||||
log "Sleeping $scriptInterval..."
|
log "Sleeping $scriptInterval..."
|
||||||
sleep $scriptInterval
|
sleep $scriptInterval
|
||||||
|
|
Loading…
Reference in a new issue