Overview
The deployment cron_schedule table contains fewer than 1000 pending jobs whose scheduled_at is at or before scanner UTC time. Future scheduled jobs are excluded. This counts due pending scheduler jobs, not arbitrary application queues.
Why it Matters
Magento schedules hundreds of cron jobs for indexing, order processing, email sending, cache cleanup, and more. If too many jobs remain pending or delayed, it means the cron system is overloaded or broken. This can lead to stuck orders, delayed notifications, and poor store stability.
Monitoring the cron backlog ensures that issues are detected early. A defined threshold (for example, no more than a few pending jobs at any time) helps maintain a healthy background processing pipeline.
Verification Steps
Manual Verification
- Count pending jobs scheduled at or before the assessment time, using the deployed table and a consistent UTC clock.
- Check the inventory is complete and exclude future scheduled jobs.
- Investigate long-running jobs and group scheduling separately.
Command / Review Sample
SELECT COUNT(*) AS due_pending FROM cron_schedule WHERE status = 'pending' AND scheduled_at <= UTC_TIMESTAMP();
Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.
Remediation / Fix Guidance
- Investigate and change: Inspect the overdue pending cron jobs by job_code, scheduled_at and status. Repair the job or worker causing backlog and adjust capacity/scheduling with the application owner; do not delete cron_schedule rows just to clear the check.
- Validate the change: Observe backlog drain below the configured threshold and verify important email, indexing and cleanup jobs complete successfully.
- Rerun MB-0048 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
The due pending count is 1,000 or greater.
Pass Example
The complete due pending count is below 1,000; future scheduled rows are excluded.
Scope and Evidence Limits
Rule revision: 3. Target modes: LOCAL.
The deployment cron_schedule table contains fewer than 1000 pending jobs whose scheduled_at is at or before scanner UTC time. Future scheduled jobs are excluded. This counts due pending scheduler jobs, not arbitrary application queues.
This check covers only the collected observation. Missing collection scope, external controls and runtime behavior require separate evidence.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.