How to debug WordPress Cron wp_schedule_event

Posted by Prem Tiwari | Updated on

You can run WP cron manually by calling: http://example.com/wp-cron.php?doing_wp_cron. If you don’t want the automatic cron to run while you’re debugging, then add this to your /wp-config.php file:

If you’re on a development environment and want to output debug information, calling it manually like that will show you your debug output.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers