Top Questions

  • 2.11 Years

    • Category : Wordpress
    • Location : Chandigarh, India
    • Posted On : Feb 13, 2019

    Disable default wp-cron.php behavior We can easily tell WordPress to let us handle the execution of wp-cron.php with the wp-config.php file.

    Open your wp-config.php file with the cPanel File Manager Code Editor
    Go to the bottom of the database settings in wp-config.php.
    define( 'AUTOSAVE_INTERVAL',    3600 );     // autosave 1x per hour
    define( 'WP_POST_REVISIONS',    false );    // no revisions
    define( 'DISABLE_WP_CRON',      true );
    define( 'EMPTY_TRASH_DAYS',     7 );        // one week
    Now WordPress will not automatically run the wp-cron.php script each time your site gets a new visitor.

Add Your Answer

When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.