When page load, WordPress will doing cron stuff. This meaning, every page load by visitors, WordPress always checking what task in cron queque. If you curios how cron is working on WordPress, see this :
1 2 3 4 5 6 7 8 9 10 | wp-settings.php: +requires wp-includes/default-filters.php -contains the action hook to the function wp_cron() +requires wp-includes/cron.php -contains functions that perform cron related tasks, including the wp_cron() function -above functions make http request to wp-cron.php wp-cron.php: -actually does the schedule checking and executes anything as needed. |
So, to disable cron in WordPress, you should define DISABLE_WP_CRON in wp-config.php.
1 | define(‘DISABLE_WP_CRON’, true); |
Credit to : http://wordpress.org/support/topic/wp_schedule_event-events-dont-fire