WordPress.org

Ready to get started?Download WordPress

Forums

WP-Cron Control
Works as simply as described. (1 post)

5 stars
  1. John.Lang
    Member
    Posted 11 months ago #

    It works exactly and as simply as described.

    The website performance is also improved when the wp-config.php file is changed to disable the WordPress virtual cron triggering on web page requests. This stops the usual problem of multiple executions of the same cron triggers due to page load race wars. Excellent.

    In wp-config.php file:
    define( 'DISABLE_WP_CRON', true );

    Web Hosting Hub does not allow wget, so use curl in the cPanel Cron Job line instead:
    'curl -A "Chrome 30.0" --silent "http://www.domain.com/wp-cron.php?doing_wp_cron&secretkeygoeshere" > /dev/null 2>&1'
    Note: The url has double quotes around it otherwise the ampersand that is a url parameters seems to interfere with the curl parameter syntax.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.