承接 blackbird/clean-blocked-running-cron 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blackbird/clean-blocked-running-cron

最新稳定版本:1.0.4

Composer 安装命令:

composer require blackbird/clean-blocked-running-cron

包简介

README 文档

README

License: MIT

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:

composer require blackbird/clean-blocked-running-cron

Install the module

Go to your Magento root, then run the following Magento command:

php bin/magento setup:upgrade

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 :

php <magento-root-dir>/bin/magento cron:blocked:clean -H <hours> -M <minutes> -c <job code(s)>

Parameters

  • -H or --hours and -M or --minutes allows you to define how long after execution the jobs are considered blocked.
  • -c or --cron 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

Contact

For further information, contact us:

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

That's all folks!

统计信息

  • 总下载量: 4.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固