puppet/mysql/files/mysql-report.cron

4 lines
112 B
Bash

#!/bin/sh
mysqlreport > /var/log/mysql-report/`date +%Y-%m-%d` 2> /dev/null
tmpwatch 720 /var/log/mysql-report