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.

18 lines
335 B

2 years ago
#!/usr/bin/with-contenv bash
if [ "$autoStart" = "true" ] && [ "$enableERAScript" = "true" ]; then
2 years ago
echo "Waiting for Lidarr to startup..."
sleep 2m
else
sleep infinity
fi
echo "Starting Script...."
for (( ; ; )); do
let i++
2 years ago
bash /config/extended/scripts/ERA.bash
2 years ago
echo "Script sleeping for 24 hours..."
sleep 24h
done
exit $?