How to use Cron to repair sql?

blacknight.the89

New Member
Messages
45
Reaction score
0
Points
0
How do I use this in cPanel?

0 1 * * * /usr/bin/mysqlcheck -Aao --auto-repair -u <shared_user> -p'<pass>'

also is it the correct command?

I need it to repair all my database tables once a while

Thanks in advance!
 
Top