有没有一种快速的方法来查看wp-cron时间表


Answers:


28

您为什么不只创建一个cron作业,进行数据库转储,然后查看有关cron作业的信息保存在哪里?那就是我所做的。令人怀疑的是,WordPress 3.5.1将其cron作业保留{wp}_options在名称为的表中'cron'

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

或通过functions.php:

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


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.