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)"
sleep infinity
fi
if [ -z "$recyclarrScriptInterval" ]; then
recyclarrScriptInterval="4h"
fi
}
@ -97,8 +101,8 @@ for (( ; ; )); do
getArrAppInfo
verifyApiAccess
RecyclarrProcess
log "Script sleeping for 4 hours..."
sleep 4h
log "Script sleeping for $recyclarrScriptInterval..."
sleep $recyclarrScriptInterval
done
exit