• The plugin has a copy and paste error that can result in the growth of the wp_options database entry for cron, and greatly slow down the processing of cron jobs. To fix this, first put the following into your functions.php and visit your site, then remove it; this is used by the plugin itself to wipe unneeded cron info when it is uninstalled.

    wp_clear_scheduled_hook('clean_cache_event');

    Next, apply the following patch/make the edits below:

    --- db-cache-reloaded.php~      2012-06-14 13:30:00.000000000 -0500
    +++ db-cache-reloaded.php       2013-09-19 14:04:28.164841815 -0500
    @@ -151,7 +151,7 @@
            function init() {
                    load_plugin_textdomain( 'db-cache-reloaded', false, dirname( plugin_basename( __FILE__ ) ).'/lang' );
    
    -               if ( !wp_next_scheduled('wp_update_plugins') && !defined('WP_INSTALLING') )
    +               if ( !wp_next_scheduled('clean_cache_event') && !defined('WP_INSTALLING') )
                            wp_schedule_event(time(), 'hourly', 'clean_cache_event');
                    // 2nd check
                    global $wpdb;

    http://wordpress.org/plugins/db-cache-reloaded/

  • The topic ‘Cron problem, slow jobs & database growth’ is closed to new replies.