Control Your Cron
In your Magento2 root directory, you may install this package via composer:
composer require ethanyehuda/magento2-cronjobmanager
php bin/magento setup:upgrade
CJM Ver. | Magento 2.0 | Magento 2.1 | Magento 2.2 | Magento 2.3 | Magento 2.4 |
---|---|---|---|---|---|
1.x | ❌ | ❌ | ✅ | ✅ | ❓ |
Take command of all processes running on your Magento 2 instance. You will be able to manage all scheduled cron jobs, which means you have complete control over what tasks fire behind the scenes. An administrator will have the ability of scheduling, removing, editing, analyzing, and running any, and all cron jobs in the cron_schedule table.
With the Timeline feature, you can see all scheduled tasks registered by Magento's scheduler queue, and quickly analyize important details pertaining to all your tasks. The timeline feature comes with dynamic scaling, live reloading, and tooltips to help you better interface with the scheduler.
The configuration panel boasts a list of features including:
-
Cron expression editing
Grants access to changing the frequency of any cron job in Magento
This also allows you to disable cron jobs by removing the expression
-
System default configuration restore
Revert back to the system's default configuration
-
Schedule Now
Gives the ability to schedule any task immediately and in the background. Unlike the dispatch feature on the dashboard, which runs the cron on the forefront, scheduling a task from the configuration panel will allow the system to call it asynchronously
-
Cron Runner
Forces Magento to run the scheduler queue on command
Use the command line tools to run any cron job and view all tasks in the system:
For example: php bin/magento cronmanager:showjobs
You can configure email addresses to be notified if a job has an error:
The Cron Job Manager is an arsenal of tools that administrators can use to manipulate Magento's scheduler features. It's perfect for debugging obscure issues with custom or native processes (cron jobs) that run on Magento's scheduler queue. There are many use cases where administrators need to keep track of tasks and force them to behave in a specific way. The Cron Job Manager can do it all!
For issues, please use the issue tracker.
Issues keep this project alive and strong, so let us know if you find anything!
We're planning on pumping out a ton of new features, which you can follow on our project page.
If you want to contribute please follow the below instructions:
- Create an issue and describe your idea
- Fork this repository
- Create your feature branch (
git checkout -b my-new-feature
)- NOTE: Always branch off the
*-develop
branch (ex. 1.x-develop)
- NOTE: Always branch off the
- Commit your changes
- Publish the branch (
git push origin my-new-feature
) - Submit a new Pull Request for review
Current maintainers:
See also our contributers