parent
d662541720
commit
6ea2a5c3bb
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
if [ "$enableQueueCleaner" != "true" ]; then
|
||||||
|
echo "QueueCleaner Script disabled, enable by setting parameter: enableQueueCleaner=true"
|
||||||
|
sleep infinity
|
||||||
|
else
|
||||||
|
echo "Waiting for Radarr to startup..."
|
||||||
|
sleep 2m
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Starting Script...."
|
||||||
|
for (( ; ; )); do
|
||||||
|
let i++
|
||||||
|
|
||||||
|
bash /config/extended/scripts/QueueCleaner.bash
|
||||||
|
|
||||||
|
echo "Script sleeping for $scriptInterval..."
|
||||||
|
sleep 15m
|
||||||
|
done
|
||||||
|
|
||||||
|
exit $?
|
Loading…
Reference in new issue