• Resolved pratiklodha

    (@pratiklodha)


    Hi Team – I would like to set a cron to optimize litespeed database (perform ‘Clean All’).

    Will this PHP code work and do the job? (If not, then please provide a code.)

    echo @shell_exec("wp litespeed-database optimize_all") ? "Cleared" : "Not cleared";
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.