Linux 软件免费装
Banner图

Cron Monitor

开发者 macvej
更新时间 2026年10月1日 01:29
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cron wp-cron cron job scheduled events cron log

下载

1.5.5 1.5.6 1.5.7

详情介绍:

WordPress runs background tasks, called cron jobs, for things like publishing scheduled posts, sending emails and running backups. It keeps no record of them, so when one fails or stops you never find out. Cron Monitor keeps that record. It shows what ran, what failed and which plugin is behind each job, and it tells you when something goes wrong. Features Good to know

安装:

  1. Install the plugin from Plugins → Add New, or upload it to /wp-content/plugins/mcron-monitor/.
  2. Activate it.
  3. Go to Tools → Cron Monitor.
Duplicates and the health check work straight away. Run history fills in as your jobs run.

屏幕截图:

  • Run History: each run's status, duration, memory, queries and warnings.
  • Cron Health: what to fix first, who uses the cron budget, and whether wp-cron.php is reachable.
  • Schedules: every registered interval and the events using it, plus custom schedules.
  • Settings: retention, email and webhook alerts, and Action Scheduler recording.

升级注意事项:

1.5.7 Safe upgrade, no database change. The plugin now also runs on PHP 7.4. 1.5.6 Safe upgrade, no database change. The plugin is renamed to Cron Monitor; settings and history carry over untouched. 1.5.5 Safe upgrade, no database change. Hardens how the admin screens validate and escape event references. 1.5.4 Safe upgrade, no database change. Fixes several edge cases in the admin screens, including hook names with unusual characters and impossible Run History date filters. 1.5.3 Updates the database schema (version 6) on first load. Addresses the wordpress.org review: all queries fully prepared, input sanitized field by field, and WordPress 6.5 supported again. Also fixes lost or duplicated alerts, duplicate removal, and concurrent settings saves. 1.5.2 No schema change (a one-time version bump). Meets a wordpress.org review requirement: the recorder no longer reads PHP's error level. Errors silenced with @ are now counted; notices and deprecations are recorded only when WP_DEBUG is on. Network-activated sites now prune every subsite. 1.5.1 Safe upgrade, no database change. Fixes a fatal error on three screens on hosts without the mbstring extension, stops a pinned event silently ceasing to recur, and removes a phishing surface in admin notices. 1.5.0 Safe upgrade. No database change and no behaviour change: the two new alert-channel switches are both on, so a site that already had a webhook URL or an alert address saved keeps delivering to it. 1.4.0 Safe upgrade. No database change, no settings change and no behaviour change — this release only reduces how much of the plugin loads on requests that are not using it. 1.3.0 Adds a switch that turns run recording off entirely, for sites that want the schedule tools without the per-run cost. Recording stays on after upgrading; nothing is reset and no rows are removed. 1.2.0 Adds a stopped-running alert, email alerts and a REST API. No settings are reset; the new email field is empty until you fill it in. 1.1.0 Adds a hook pauser, an event editor, custom schedules, CSV export and cron-spawn diagnosis. No settings are reset; the schema upgrades in place. 1.0.0 First release.

常见问题:

Where do I see my cron jobs?

Go to Tools → Cron Monitor. Scheduled Events lists every job. Run History shows what has actually run.

Which plugin created this cron job?

Check the Owner column. "Not observed yet" means the job has not run since you installed Cron Monitor. Check back after it runs.

Is this cron job safe to delete?

Cron Monitor watches each job as it runs and tells you. "0 callbacks observed across 14 runs" is safe to delete. "Callbacks observed during cron" is not. If it has not seen the job run yet, it makes no recommendation.

Why is my cron job running twice?

It is almost always scheduled twice. The Events screen flags duplicates and shows exactly what it would remove before removing anything.

Why is WP-Cron not running?

Open the Cron Health screen. It checks the usual causes and tells you what to fix. The most common one is a low-traffic site: WP-Cron only runs when someone visits. The fix is a real server cron job, and the Health screen gives you the lines to copy.

Will it tell me when a cron job stops running?

Yes. It checks from normal page visits and alerts you when a job is overdue twice in a row, fifteen minutes apart. A site that gets no visits at all cannot check itself, so use the REST health route with an external monitor for that.

Can I get alerts by email?

Yes. Go to Settings → Alerts and enter an email address, a Slack or Discord webhook, or both. The Send test alert button checks that they work.

Does it slow my site down?

No. On normal page views it does almost nothing. It only does real work while cron jobs run.

Does it work with other cron plugins?

Yes. It only watches and reports. It does not take over WordPress cron.

Can it run PHP code on a schedule?

No, and it never will. Running stored code is a security risk.

Does it work with WooCommerce?

Yes. If Action Scheduler is present, failed tasks are logged. WooCommerce is not required.

Does it support multisite?

Yes. Each site has its own history and settings. There is no network-wide dashboard.

更新日志:

1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 Maintenance release from a pre-submission audit. No feature changes and no database change. 1.5.0 The Alerts section of the Settings screen is now three switches, and each one hides and disables everything that depends on it. Alerting behaves exactly as it did before for anybody who does not touch them. 1.4.0 Load-time release. Nothing about what the plugin does has changed — every screen, every alert, every recorded row and every REST and WP-CLI response is identical. What changed is how much of the plugin PHP reads on a request that is not using it. 1.3.0 1.2.0 1.1.0 1.0.0