@ -76,7 +76,7 @@ function valencia {
let idDogv=$idDogv+1
sleep 1
done
echo $idDogv > lastDogv
echo $idDogv > .lastDogv
wget -q $mainURL -O $pdfFile
if [ "$(pdftotext $pdfFile - | grep -i -E -n -3 "$keyWords" | tee .cpds | wc -l)" = 0 ]; then echo "0 resultados"; rm -rf .cpds .boletin*; exit; else sendMail $pdfURL $comunidad;fi
rm -rf .boletin*