From 73277d5437cd4ab38813c58c8151a91c74063ed5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Wed, 19 Jul 2023 14:38:31 +0000 Subject: [PATCH] v1.6 - logging optimizations --- lidarr/AutoArtistAdder.bash | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lidarr/AutoArtistAdder.bash b/lidarr/AutoArtistAdder.bash index a094f75..96f0041 100644 --- a/lidarr/AutoArtistAdder.bash +++ b/lidarr/AutoArtistAdder.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.5" +scriptVersion="1.6" scriptName="AutoArtistAdder" log () { @@ -17,7 +17,6 @@ logfileSetup () { touch "/config/logs/AutoArtistAdder.txt" chmod 666 "/config/logs/AutoArtistAdder.txt" fi - exec &> >(tee -a "/config/logs/AutoArtistAdder.txt") } verifyConfig () { @@ -330,6 +329,9 @@ AddTidalArtistToLidarr () { } +# Loop Script +logfileSetup +exec &> >(tee -a "/config/logs/AutoArtistAdder.txt") # Loop Script for (( ; ; )); do let i++