From 8baacbf1558a13c2904783134e12676e99913cc6 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Fri, 28 Sep 2012 01:29:39 +0300 Subject: [PATCH] changed stats period --- bin/v_update_user_stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v_update_user_stats b/bin/v_update_user_stats index 52ba7358e..d2415eabd 100755 --- a/bin/v_update_user_stats +++ b/bin/v_update_user_stats @@ -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'"