You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
389 B

#!/usr/bin/with-contenv bash
if [ "$enableRecyclarr" != "true" ]; then
echo "Recyclarr disabled, enable by setting parameter: enableRecyclarr=true"
2 years ago
sleep infinity
else
2 years ago
echo "Waiting for Radarr to startup..."
2 years ago
sleep 2m
fi
echo "Starting Script...."
for (( ; ; )); do
let i++
2 years ago
bash /config/extended/scripts/Recyclarr.bash
echo "Script sleeping for 4 hours..."
sleep 4h
done
exit $?