Improved rapport_activite.sh with absolute path
This commit is contained in:
parent
fc25e4c631
commit
96b74c88e9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user