File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ is_object_valid 'user' 'USER' "$user"
122122# Action #
123123# ----------------------------------------------------------#
124124
125+ # Ensure statistics are up to date
126+ $BIN /v-update-user-stats $user
127+
128+
125129# Defining config
126130conf=$USER_DATA /stats.log
127131if [ ! -e " $conf " ]; then
Original file line number Diff line number Diff line change @@ -121,6 +121,11 @@ check_args '0' "$#" '[FORMAT]'
121121# Action #
122122# ----------------------------------------------------------#
123123
124+ # Ensure statistics are up to date
125+ for user in $( ls $HESTIA /data/users) ; do
126+ $BIN /v-update-user-stats $user
127+ done
128+
124129# Defining config
125130conf=$HESTIA /data/users/admin/overall_stats.log
126131if [ ! -e " $conf " ]; then
You can’t perform that action at this time.
0 commit comments