Cron Development Skill

Automate creation and management of Magento 2 cron jobs.

18|4|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/Inchoo/magento-bricklayer --skill cron-development-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cron Development Skill
Source: https://github.com/Inchoo/magento-bricklayer/tree/main/config/skills/cron-development
Command: npx skills add https://github.com/Inchoo/magento-bricklayer --skill cron-development-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, configuring, and debugging cron jobs in Magento 2, ensuring efficient execution of scheduled tasks.

Core Features & Use Cases

  • Cron Class Creation: Automates the generation of PHP classes with execute() methods for cron jobs.
  • Schedule Configuration: Facilitates setting up schedules for cron jobs using crontab.xml.
  • Cron Group Configuration: Manages group configurations for cron jobs with cron_groups.xml.
  • Running Cron: Provides commands to run cron jobs manually or via crontab.
  • Debugging: Offers SQL queries to check cron schedules and history.

Quick Start

Create a new cron job for data processing by executing the following command: bin/magento cron:run --group=default --job=vendor_module_process_data.

Frequently Asked Questions about Cron Development Skill

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

FAQPage Schema
How do I create and configure a cron job in Magento 2?

To create a Magento 2 cron job, you generate a PHP class with an execute() method and configure its schedule using crontab.xml. You can also manage group configurations via cron_groups.xml to control execution.

How do I debug Magento 2 cron jobs that are not running?

To debug Magento 2 cron jobs, you can run them manually via the command line using `bin/magento cron:run` and use provided SQL queries to check the cron schedules and execution history in the database.

What do I need to know to set up task scheduling in Magento 2?

Setting up task scheduling in Magento 2 requires knowledge of the Magento 2 cron architecture and basic PHP development skills to generate the necessary classes and XML configuration files.

How can I run a specific Magento 2 cron job manually?

You can run a specific Magento 2 cron job manually by executing the command `bin/magento cron:run --group=default --job=vendor_module_process_data` in your terminal.

What is the purpose of cron_groups.xml in Magento 2 task scheduling?

The cron_groups.xml file is used in Magento 2 task scheduling to manage group configurations for cron jobs, allowing you to organize and control how scheduled tasks are executed and grouped together.