6 lines
160 B
Bash
6 lines
160 B
Bash
#!/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
|