New service for Youtube-Series-Downloader.bash

#20
pull/24/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 85de2c5c68
commit 3a5f9ddbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,18 @@
#!/usr/bin/with-contenv bash
if [ "$enableYoutubeSeriesDownloader" != "true" ]; then
echo "Youtube-Series-Downloader disabled, enable by setting parameter: enableYoutubeSeriesDownloader=true"
sleep infinity
else
echo "Waiting for Sonarr to startup..."
sleep 2m
fi
echo "Starting Script...."
for (( ; ; )); do
let i++
bash /config/extended/scripts/Youtube-Series-Downloader.bash
echo "Script sleeping for 4 hours..."
sleep 4h
done
exit $?
Loading…
Cancel
Save