← Back to Baseline

MB-0046

Automated Installed Magento scheduler observed

MB-C08 Cron Job Reliability Medium

A collected installed cron:run entry targets this deployment. Missing installed entries remain unresolved when an external/cloud/container scheduler may apply; cadence and execution health are separate observations.

Overview

A collected installed cron:run entry targets this deployment. Missing installed entries remain unresolved when an external/cloud/container scheduler may apply; cadence and execution health are separate observations.

Why it Matters

Magento relies heavily on scheduled tasks (cron jobs) for operations like sending emails, reindexing, cleaning logs, and processing orders. If crontab entries are missing, many background jobs will not run. This can break order processing, cause outdated indexes, and leave logs or sessions uncleared.

Ensuring that Magento cron jobs are properly configured and active keeps the store healthy, automated, and secure.

Verification Steps

Manual Verification

  1. Read the crontab of the actual application account or the platform scheduler configuration.
  2. Match the cron:run command to this deployment's absolute path and PHP executable.
  3. External scheduler setups require their own evidence rather than an assumed local entry.

Command / Review Sample

crontab -l
# Review the application user's scheduler, not an unrelated login account.

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

  1. Investigate and change: Review the installed scheduler for the deployment owner, or the Adobe Cloud/container/external scheduler definition. Configure the supported Magento cron:run invocation for this release and account for paths, PHP binary and required job groups.
  2. Validate the change: Retain the installed schedule and recent cron_schedule success evidence. A repository deployment script alone is not an installed scheduler.
  3. Recheck MB-0046: After the scheduler fix, observe a subsequent scheduled execution and inspect the affected job status and private cron logs. A crontab entry alone does not prove execution health; do not invoke cron jobs from the scanner.

Examples

Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.

Fail Example

A crontab exists but its Magento command points at an old release tree.

Pass Example

An installed scheduled command runs cron:run for the assessed deployment.

Scope and Evidence Limits

Rule revision: 4. Target modes: LOCAL.

A collected installed cron:run entry targets this deployment. Missing installed entries remain unresolved when an external/cloud/container scheduler may apply; cadence and execution health are separate observations.

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.

References