#!/bin/shmysqlcheck -u USERNAME -pPASSWORD --optimize --auto-repair DATABASE_NAME
0 0,12 * * * bash /home/user/public_html/repair.sh