Update Recyclarr

This commit is contained in:
billsbdb3 2024-07-03 11:55:14 -04:00 committed by GitHub
parent d5b547e006
commit 63e0a88af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,10 @@ source /config/extended.conf
source /config/extended/functions
#### Create Log File
logfileSetup
# Redirect all output to the log file
exec &> >(tee -a "/config/logs/$logFileName")
#### Check Arr App
getArrAppInfo
verifyApiAccess
@ -37,20 +41,19 @@ RecyclarrProcess () {
fi
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data
log "Complete"
}
# Loop Script
for (( ; ; )); do
let i++
logfileSetup
verifyConfig
getArrAppInfo
verifyApiAccess
RecyclarrProcess
log "Script sleeping for $recyclarrScriptInterval..."
sleep $recyclarrScriptInterval
let i++
logfileSetup
verifyConfig
getArrAppInfo
verifyApiAccess
RecyclarrProcess
log "Script sleeping for $recyclarrScriptInterval..."
sleep $recyclarrScriptInterval
done
exit