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)"
|
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
|
||||||
|
|
Loading…
Reference in a new issue