Magento 2 Cron Jobs Catalog
Every cron job declared by Magento 2 core, with cron expression, frequency in plain English, handler class, source module, and a ready-to-copy crontab.xml + PHP skeleton. Pinned to Magento 2.4.9.
Magento 2 cron jobs
1 result(s) in Commerce Data Export group · Clear
About Magento 2 cron jobs
What is a Magento 2 cron job?
A Magento 2 cron job is a scheduled background task declared in a module's etc/crontab.xml. Magento's cron daemon scans every installed module's crontab.xml on each tick, computes which jobs are due based on their cron expression, and dispatches the configured handler class. Jobs are split into named groups (default, index, consumers, …) so each group can run on its own schedule via bin/magento cron:run --group=<name>.
How do I list every cron job in Magento 2?
Three ways. Browse this catalog for every job declared by core. From the database, run SELECT job_code FROM cron_schedule GROUP BY job_code; to see jobs that have actually been scheduled at least once. From the CLI, scan etc/crontab.xml across vendor/ and app/code/ — that's the source of truth for what's declared.
What's the difference between cron groups?
Cron groups let you run different sets of jobs on different schedules. default is the catch-all where most jobs live. index runs reindex jobs and is often configured to fire more frequently. consumers runs message-queue consumers (long-lived workers, not periodic jobs). Adobe Payment Services adds isolated payment_services_* groups for billing workflows. Run a specific group with bin/magento cron:run --group=<name>.
How do I run a Magento 2 cron job manually?
Magento doesn't have a per-job CLI invocation — the smallest unit is a group. Run php bin/magento cron:run --group=<group> --bootstrap=standaloneProcessStarted=1 to execute every job in that group whose schedule is due. Each per-job page in this catalog shows the exact command tailored to that job's group.
What's a config_path in crontab.xml?
<config_path> is an alternative to <schedule>. Instead of hard-coding the cron expression, the merchant configures it in System > Configuration and Magento reads the value from the supplied admin-config path on each tick. This is how customer-tunable schedules work — for example, the product_alert job uses crontab/default/jobs/catalog_product_alert/schedule/cron_expr so the merchant can change alert frequency without a code deploy.
Related Magento 2 references
Cron handlers often dispatch Magento 2 events — a scheduled tick can trigger every observer registered against an event. The CLI Reference covers cron:run, cron:install, and the rest of the cron:* namespace. Building a module that ships its own cron job? The Module Generator scaffolds the crontab.xml + handler class for you.
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.