diff --git a/server/lib/classes/cron.d/100-monitor_database_size.inc.php b/server/lib/classes/cron.d/100-monitor_database_size.inc.php
index 81d1490b7b777b022d5fd8b8ffaa0c9df823b9cd..2cd78d14a2ad7c369bb0a12ee8930506cfc8c660 100644
--- a/server/lib/classes/cron.d/100-monitor_database_size.inc.php
+++ b/server/lib/classes/cron.d/100-monitor_database_size.inc.php
@@ -85,6 +85,7 @@ class cronjob_monitor_database_size extends cronjob {
 				$data[$i]['name'] = $records[$i]['database_name'];
 				$data[$i]['size'] = $app->db->getDatabaseSize($data[$i]['name']);
 				$data[$i]['sys_groupid'] = $records[$i]['sys_groupid'];
+				$data[$i]['username'] = $app->db->queryOneRecord("SELECT client.username FROM web_database, sys_group, client WHERE web_database.sys_groupid = sys_group.groupid AND sys_group.client_id = client.client_id and web_database.database_name='".$data[$i]['name']."'")['username'];
 			}
 		}