Is there a quick way to view the wp-cron schedule

I’m trying to work which plugin is triggering wp-cron. I know about the code: http://codex.wordpress.org/Function_Reference/wp_get_schedules , but I’d prefer to do something in the sql backend rather than write a plugin.

3

Why don’t you just create a cron job, make a database dump and look where the info about the cron job is kept? That’s what I did. As suspected, WordPress 3.5.1 keeps its cron jobs in the {wp}_options table under the name 'cron'.

SELECT *
FROM `wp_options`
WHERE `option_name` LIKE '%cron%'

Or through functions.php:

$cron_jobs = get_option( 'cron' );
var_dump($cron_jobs);

Leave a Comment