Update Recycalarr

This commit is contained in:
RandomNinjaAtk 2023-07-15 10:52:47 -04:00 committed by GitHub
parent 11474fe005
commit c36106ae7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,10 @@ verifyConfig () {
log "Sleeping (infinity)" log "Sleeping (infinity)"
sleep infinity sleep infinity
fi fi
if [ -z "$recyclarrScriptInterval" ]; then
recyclarrScriptInterval="4h"
fi
} }
@ -97,8 +101,8 @@ for (( ; ; )); do
getArrAppInfo getArrAppInfo
verifyApiAccess verifyApiAccess
RecyclarrProcess RecyclarrProcess
log "Script sleeping for 4 hours..." log "Script sleeping for $recyclarrScriptInterval..."
sleep 4h sleep $recyclarrScriptInterval
done done
exit exit