orbit-cron-audit

Audit WordPress plugin cron scheduling for missed, duplicate, and zombie crons.

2|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/adityaarsharma/orbit --skill orbit-cron-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orbit-cron-audit
Source: https://github.com/adityaarsharma/orbit/tree/main/skills/orbit-cron-audit
Command: npx skills add https://github.com/adityaarsharma/orbit --skill orbit-cron-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Identifies common issues in cron job scheduling in WordPress plugins, such as missed schedules, duplicate registrations, missing unschedule on deactivation, and overlapping cron windows that cause performance regressions.

Core Features & Use Cases

  • Audit wp_schedule_event and wp_schedule_single_event calls.
  • Check for missed schedules, duplicate registrations, and missing unschedules.
  • Detect zombie crons and overlapping cron windows.
  • Use case: When performing an audit of a WordPress plugin to ensure proper cron job management.

Quick Start

Use the orbit-cron-audit skill to review cron registration hygiene in your plugin.

Frequently Asked Questions about orbit-cron-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit WordPress cron job scheduling issues in my plugin?

To audit WordPress cron job scheduling, use this skill to detect missed schedules, duplicate registrations, and overlapping cron windows in your plugin code. It reviews wp_schedule_event calls to identify performance regressions and security hygiene problems.

What causes missed schedules and zombie crons in WordPress plugins?

Missed schedules and zombie crons in WordPress plugins are caused by improper cron registration management, failing to unschedule events on deactivation, and overlapping execution windows. This skill identifies these specific scheduling defects during code review.

Do I need a PHP and WordPress environment to check for duplicate cron registrations?

Yes, you need a PHP and WordPress environment to execute this cron audit skill. The script analyzes plugin code behavior within the WordPress environment to accurately detect duplicate registrations and missing unschedule calls.

How do I find overlapping cron windows causing performance regressions?

To find overlapping cron windows causing performance regressions, run an audit on your plugin's wp_schedule_single_event and wp_schedule_event calls. This skill detects schedule collisions and zombie crons that degrade site performance.

What is the best way to ensure proper cron job management when developing a WordPress plugin?

The best way to ensure proper cron job management in WordPress plugin development is performing a scheduling audit to verify unschedule-on-deactivation logic and check for duplicate registrations. This skill automates that hygiene review process.

Why does my WordPress plugin cron audit show missing unschedules on deactivation?

A cron audit shows missing unschedules on deactivation when your plugin registers scheduled events but fails to clear them during the uninstall or deactivation hook. This skill flags the missing cleanup logic to prevent zombie crons.