Improved rapport_activite.sh with absolute path

This commit is contained in:
Didier Clermonté 2019-04-13 15:22:50 +02:00 committed by root
parent fc25e4c631
commit 96b74c88e9
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ generateReport()
echo "Nombre de lectures ce mois = $readPasteCount"
echo "Nombre de lectures ce mois - les commentaires = $((readPasteCount-commentCount))"
pasteCount=$(find ../data -mindepth 2 -maxdepth 3 -type f | wc -l)
pasteCount=$(find /var/www/paste.chapril.org/data -mindepth 3 -maxdepth 3 -type f | wc -l)
echo "Nombre de pastes dans la base actuellement = $pasteCount"
echo
}