diff --git a/mysql/files/mysql-report.cron b/mysql/files/mysql-report.cron index cd3cbb0..48aa9cd 100644 --- a/mysql/files/mysql-report.cron +++ b/mysql/files/mysql-report.cron @@ -1,4 +1,6 @@ #!/bin/sh +HOME="`getent passwd ${USER} | cut -d : -f 6`" + mysqlreport > /var/log/mysql-report/`date +%Y-%m-%d` 2> /dev/null tmpwatch 720 /var/log/mysql-report