Linux 软件免费装
Banner图

Cron Pulse

开发者 farhanalidev
更新时间 2026年7月15日 03:40
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

cron debugging cron jobs developer tools wp-cron

下载

1.1.0

详情介绍:

WordPress developers fly blind with WP-Cron. The core tools give you no visibility into whether scheduled jobs are actually running, how long they take, or when they last fired. Cron Pulse adds a clean dashboard under Tools → Cron Pulse that shows everything you need at a glance: Features Who is this for? Privacy This plugin stores cron execution data (hook name, timestamp, duration) in the WordPress options table. No data is sent externally unless you explicitly configure a webhook URL under alert settings, in which case alert payloads are POSTed to that URL. The REST API endpoint is read-only and pull-based — nothing is sent anywhere on its own. If you enable SMTP, your SMTP credentials are stored in the WordPress options table, same as any other plugin setting — no third-party service receives them except the SMTP server you configure. The email log stores recipient addresses and subjects for emails Cron Pulse has sent. All data is deleted on plugin uninstall.

安装:

  1. Upload the cronpulse folder to /wp-content/plugins/
  2. Activate via Plugins → Installed Plugins
  3. Navigate to Tools → Cron Pulse

屏幕截图:

  • Execution log with run history, status filter chips, duration sparklines, and paginated entries
  • Email log showing delivery history with per-entry status chips and the SMTP debug log panel
  • Settings — SMTP configuration, webhook alerts, and per-job overrides in a clean two-column layout

升级注意事项:

1.1.0 Dashboard visual refresh: alert banner, expandable rows, schedule timeline, filter strips. No data changes. 1.0.0 Initial release.

常见问题:

Why does a job show as "Overdue"?

It means the scheduled run time has passed but the job hasn't fired yet. This can happen when DISABLE_WP_CRON is set in wp-config.php, or when your site has low traffic and the WP-Cron system-tick hasn't triggered.

Does "Run Now" advance the next scheduled run time?

No. It fires the hook's callback functions directly without modifying the cron schedule. Use it for testing or manual one-off execution.

Will this slow down my site?

No. The tracker hooks fire only during cron execution (not on regular page loads) and the overhead is limited to a transient read/write per cron event.

Where is the log stored?

In the WordPress options table under the key cronpulse_execution_log. The entry cap defaults to 200 and is configurable from the Settings tab (10–5000). It's cleared on uninstall.

Is it compatible with Action Scheduler or WooCommerce?

Cron Pulse tracks jobs registered through the standard WordPress wp_schedule_event() / _get_cron_array() API. Action Scheduler uses its own queue system and is not covered.

How do I authenticate against the REST endpoint?

The same way as any other WordPress REST route: a logged-in browser session (cookie + nonce), or an Application Password for external tools — Users → Profile → Application Passwords. The requesting user needs the manage_options capability.

What does "Snooze" do?

It acknowledges the current incident for that hook so no further alert is sent for it, without turning off alerts globally. The moment the job recovers and later fails (or becomes overdue) again, alerting resumes normally for that new incident.

Why does the admin bar badge sometimes not appear right away?

It's evaluated on every page load along with everything else the plugin tracks, so it only updates when you load a page — there's no background process polling for it.

Why would I need the SMTP settings?

Many hosts either don't have PHP's mail() function configured at all, or send through it in a way that gets flagged as spam (no SPF/DKIM alignment, generic "From" address). Configuring SMTP with your own mail provider's credentials routes through a real authenticated mail server instead, without needing a separate SMTP plugin. Use "Send Test Email" after saving to confirm it's actually working.

Where is the email log stored, and what's in it?

In the WordPress options table under the key cronpulse_email_log, capped at the last 50 entries. Each entry has the recipient, subject, type (alert/test), delivery status, and the underlying error message if it failed. Cleared on uninstall, or anytime via the Clear Email Log button.

"Failed to send" isn't telling me enough — how do I dig deeper?

Check the Email Debug Log on the Email Log tab. When SMTP is enabled it captures the actual SMTP conversation — connection attempt, TLS handshake, AUTH exchange, and the mail server's own response — for every send. It's a separate file under wp-content/uploads/cronpulse-logs/email-debug.log (protected from direct web access), not the options table, since a raw protocol transcript doesn't belong in the database. Login credentials are redacted before anything is written, regardless.

更新日志:

1.1.0 1.0.0