WordPress.org

Forums

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

  1. John.Lang
    Member
    Posted 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Cron Control
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.