changed stats period

This commit is contained in:
Serghey Rodin 2012-09-28 01:29:39 +03:00
commit 8baacbf155

View file

@ -48,7 +48,7 @@ fi
for user in $user_list; do
USER_DATA=$VESTA/data/users/$user
source $USER_DATA/user.conf
DATE=$(date -d "$(date +'%m/01') -1day" +%F)
DATE=$(date -d "$(date +'%m/01' -d "+ 1 month") -1day" +%F)
# Compiling report string
s="DATE='$DATE' TIME='$TIME' PACKAGE='$PACKAGE' IP_OWNED='$IP_OWNED'"