• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up

Optimize WordPress Database Daily Using Linux Crontab

netslovers (25)in #database • 3 years ago

image.png

A simple method to make auto-optimization to your web application/WordPress database.

As described Here we can crontab the following mysqlcheck command.

0 0 * * * /usr/bin/mysqlcheck -uUSER -pPASSWORD --auto-repair --optimize DataBaseName > /dev/null 2>&1

As its will run every day at the midnight.

3 years ago in #database by netslovers (25)
$0.00
    Reply 0