Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you can create a php file in same directory as your wp-config.php

    <?php
    define( 'WP_USE_THEMES', false );
    require( './wp-load.php' );
    
    if ( defined( 'LSCWP_V' ) ) {
    do_action( 'litespeed_purge_all' );
    }
    echo "done";

    `

    then create a cron job to request it , like curl -I -XGET https://yourdomain.com/purge.php

    this will trigger purge all

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Purge catch With Cron Job’ is closed to new replies.