承接 vendic/magento2-clean-cron-schedule 相关项目开发

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

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

vendic/magento2-clean-cron-schedule

最新稳定版本:1.0.8

Composer 安装命令:

composer require vendic/magento2-clean-cron-schedule

包简介

Magento 2.2 has issues with giant `cron_schedule` tables. The cron job running time will increase when the table gets bigger, causing heavy CPU usage.

README 文档

README

Magento 2.2 has issues with giant cron_schedule tables. The cron job running time will increase when the table gets bigger, causing heavy CPU usage.

Identifing the problem

In one of our stores the cron_schedule table exeeded 1.000.000 rows. To identify the problem run the following SQL query:

SELECT count(*) FROM `cron_schedule`

Solving the problem

Remove the old rows in cron schedule:

DELETE FROM cron_schedule WHERE  scheduled_at < Date_sub(Now(), interval 24 hour);

Source

This module will execute the cleanup query once a day.

Installation

composer require vendic/magento2-clean-cron-schedule

Related issues

About Vendic

Vendic - Magento 2 develops technically challenging e-commerce websites using Magento 2. Feel free to check out our projects on our website.

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-06