genaker/magento2-cron-console
Composer 安装命令:
composer require genaker/magento2-cron-console
包简介
Magento 2 Console Commands for Cron Job Management - List and run cron jobs directly from command line
README 文档
README
A powerful Magento 2 module that provides console commands for cron job management. List all cron jobs and run them directly from the command line with optional parameters.
Features
- List all cron jobs with detailed information including group, schedule, instance, and method
- Run specific cron jobs by name with optional parameters
- Filter cron jobs by group or class name
- Parameter inspection - see what parameters each cron job accepts
- Custom parameter passing - pass custom parameters to cron jobs
Installation
Via Composer (Recommended)
composer require genaker/magento2-cron-console php bin/magento module:enable Genaker_CronConsole php bin/magento setup:upgrade
Manual Installation
- Download the module files
- Create directory
app/code/Genaker/CronConsole - Copy all files to the directory
- Run the following commands:
php bin/magento module:enable Genaker_CronConsole php bin/magento setup:upgrade
Usage
List All Cron Jobs
php bin/magento genaker:cron:list
Filter Cron Jobs
Filter by group name or class:
php bin/magento genaker:cron:list catalog php bin/magento genaker:cron:list Indexer
Run a Specific Cron Job
php bin/magento genaker:cron:run <jobName>
Example:
php bin/magento genaker:cron:run catalog_product_alert
Run Cron Job with Parameters
Pass custom parameters to cron jobs:
php bin/magento genaker:cron:run <jobName> --param=key1=value1 --param=key2=value2
Example:
php bin/magento genaker:cron:run my_custom_job --param=limit=100 --param=debug=true
Commands
genaker:cron:list [filter]
Lists all available cron jobs with the following information:
- Group name
- Job name
- Schedule expression
- Instance class
- Method name
- Execute method parameters
- Command to run the job
Options:
filter(optional) - Filter by group name or class name
genaker:cron:run <jobName> [--param=key=value]
Runs a specific cron job by name.
Arguments:
jobName(required) - The name of the cron job to run
Options:
--param(optional, multiple) - Additional parameters in key=value format
Requirements
- PHP 7.4 or higher
- Magento 2.4.x or higher
License
This module is licensed under the Open Software License (OSL 3.0) and Academic Free License (AFL 3.0).
Support
- Issues: GitHub Issues
- Email: egorshytikov@gmail.com
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
genaker/magento2-cron-console 适用场景与选型建议
genaker/magento2-cron-console 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 11, 最近一次更新时间为 2025 年 10 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cli」 「console」 「cron」 「command」 「management」 「magento」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 genaker/magento2-cron-console 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 genaker/magento2-cron-console 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 genaker/magento2-cron-console 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This class provides you with an easy-to-use interface to progress bars.
Symfony bundle to monitor and execute commands
A Laravel package to retrieve data from Google Search Console
Additional artisan commands for Laravel
Scheduling extension for Yii2 framework
Monitoring for scheduled jobs
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2025-10-09