Update Recycalarr
This commit is contained in:
parent
11474fe005
commit
c36106ae7f
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue