Update AutoExtras.service
This commit is contained in:
parent
d0a047bd25
commit
b01b500691
1 changed files with 5 additions and 5 deletions
|
@ -50,8 +50,8 @@ AutoExtrasProcess () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "/config/logs/AutoExtras.txt" ]; then
|
if [ ! -f "/config/logs/AutoExtras.txt" ]; then
|
||||||
touch "/config/logs/AutoExtras.txt"
|
touch "/config/logs/AutoExtras.txt"
|
||||||
chmod 777 "/config/logs/AutoExtras.txt"
|
chmod 777 "/config/logs/AutoExtras.txt"
|
||||||
fi
|
fi
|
||||||
exec &> >(tee -a "/config/logs/AutoExtras.txt")
|
exec &> >(tee -a "/config/logs/AutoExtras.txt")
|
||||||
|
|
||||||
|
@ -70,9 +70,9 @@ AutoExtrasProcess () {
|
||||||
|
|
||||||
loopCount=0
|
loopCount=0
|
||||||
for id in $(echo $radarrMovieIds); do
|
for id in $(echo $radarrMovieIds); do
|
||||||
loopCount=$(( $loopCount + 1 ))
|
loopCount=$(( $loopCount + 1 ))
|
||||||
log "$loopCount of $radarrMovieTotal :: $id :: Processing with MovieExtras.bash"
|
log "$loopCount of $radarrMovieTotal :: $id :: Processing with MovieExtras.bash"
|
||||||
bash /config/extended/scripts/MovieExtras.bash "$id" "$cookiesFile"
|
bash /config/extended/scripts/MovieExtras.bash "$id" "$cookiesFile"
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue