Download the PHP package blackbird/clean-blocked-running-cron without Composer
On this page you can find all versions of the php package blackbird/clean-blocked-running-cron. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package clean-blocked-running-cron
Clean blocked running cron
This module add a CLI command which allows you to end a CRON job that is running for a defined time. The free source is available at the GitHub repository.
Requirements
- PHP >= 7.1
- Magento >= 2.2
Setup
Get the package
Zip Package:
Unzip the package in app/code/Blackbird/CleanBlockedRunningCron, from the root of your Magento instance.
Composer Package:
Install the module
Go to your Magento root, then run the following Magento command:
If you are in production mode, do not forget to recompile and redeploy the static resources, or to use the --keep-generated
option.
Command
This extension gives you a new CLI command for your Magento :
Parameters
- or and or allows you to define how long after execution the jobs are considered blocked.
- or allows you to define which cron jobs need to be killed after H hours and M minutes execution. It's possible to define multiple jobs separated by a comma.
The idea is to use this command in your crontab for each job which sometime blocked.
Be carefully to define the appropriate hours and minutes for the defined cron job codes to not kill real running jobs.
Support
- If you have any issue with this code, feel free to open an issue.
- If you want to contribute to this project, feel free to create a pull request.
Contact
For further information, contact us:
- by email: [email protected]
- or by form: https://black.bird.eu/en/contacts/
Authors
- Thibaud Ritzenthaler - Maintainer -
- Blackbird Team - Contributor -
License
This project is licensed under the MIT License - see the LICENSE file for details.
That's all folks!
All versions of clean-blocked-running-cron with dependencies
magento/module-catalog Version >=100.0.0
php Version >=7.1