From c36106ae7f7bf13f720d3012d12507781b691963 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 15 Jul 2023 10:52:47 -0400 Subject: [PATCH] Update Recycalarr --- universal/services/Recycalarr | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/universal/services/Recycalarr b/universal/services/Recycalarr index beac0d8..d7149d4 100644 --- a/universal/services/Recycalarr +++ b/universal/services/Recycalarr @@ -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