parent
6760f5d54b
commit
7caa26fc7b
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
if [ "$enableRecyclarr" != "true" ]; then
|
||||
echo "Recyclarr disabled, enable by setting parameter: enableRecyclarr=true"
|
||||
sleep infinity
|
||||
else
|
||||
echo "Waiting for Radarr to startup..."
|
||||
sleep 2m
|
||||
fi
|
||||
|
||||
echo "Starting Script...."
|
||||
for (( ; ; )); do
|
||||
let i++
|
||||
bash /config/extended/scripts/Recyclarr.bash
|
||||
echo "Script sleeping for 4 hours..."
|
||||
sleep 4h
|
||||
done
|
||||
|
||||
|
||||
exit $?
|
Loading…
Reference in new issue