From 5a1e5acee3232698b1444705426b481d1d4ed38f Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 12 Feb 2024 13:13:04 +0000 Subject: [PATCH] v1.3 - logging --- lidarr/ARLChecker | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lidarr/ARLChecker b/lidarr/ARLChecker index 0fd16a2..962c7ea 100644 --- a/lidarr/ARLChecker +++ b/lidarr/ARLChecker @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bash ### Default values -scriptVersion="1.2" +scriptVersion="1.3" scriptName="ARLChecker" sleepInterval='24h' ### Import Settings @@ -14,7 +14,7 @@ if [ "$dlClientSource" == "tidal" ]; then sleep infinity fi -echo Starting ARL Token Check... +log "Starting ARL Token Check..." # run py script python /custom-services.d/python/ARLChecker.py -c @@ -22,11 +22,11 @@ python /custom-services.d/python/ARLChecker.py -c # See issue #189 if [[ -v arlUpdateInterval ]] && [ "$arlUpdateInterval" != "" ] then - echo 'Found Interval in extended.conf' + log "Found Interval in extended.conf" sleepInterval="$arlUpdateInterval" else - echo 'Interval Fallback' + log "Interval Fallback" fi -echo ARL Token Check Complete. Sleeping for ${sleepInterval}. +log "ARL Token Check Complete. Sleeping for ${sleepInterval}." sleep ${sleepInterval}