2017 © Pedro Peláez
 

magento2-module module-cleanrunningjobs

Mark running cronjobs as error if older than 3 days

image

alekseon/module-cleanrunningjobs

Mark running cronjobs as error if older than 3 days

  • Tuesday, May 8, 2018
  • by Alekseon
  • Repository
  • 3 Watchers
  • 7 Stars
  • 1,987 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 128 % Grown

The README.md

Magento 2 Extension - Alekseon/CleanRunningJobs

In case your Magento 2 app is closed/shutdown/explode when there is running cronjob it will stay in "running" status forever., (*1)

This might be the reason why your Magento 2 will create more and more jobs in cron_schedule table and that will result that your Magento 2 will use 100% of CPU after few weeks., (*2)

This extension fix this issue by marking "running" cronjobs as error if they are older than 3 hours., (*3)

More informations you will find on our blog: https://alekseon.com/en/blog/post/magento-2-slow-and-cpu-usage-gets-high-this-might-be-the-reason/, (*4)

Installation

  • From your CLI run: composer require alekseon/module-cleanrunningjobs
  • Flush your cache.
  • Upgrade database: bin/magento setup:upgrade

The Versions

08/05 2018

dev-master

9999999-dev

Mark running cronjobs as error if older than 3 days

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0|~7.1.0

 

by Mage2Gen
by Marcin Frymark
by Lukasz Linczewski

10/04 2018

1.0.3

1.0.3.0

Mark running cronjobs as error if older than 3 days

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0|~7.1.0

 

by Mage2Gen
by Marcin Frymark
by Lukasz Linczewski

04/02 2018

1.0.2

1.0.2.0

Mark running cronjobs as error if older than 3 days

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0

 

by Mage2Gen
by Marcin Frymark
by Lukasz Linczewski

04/02 2018

1.0.0

1.0.0.0

Mark running cronjobs as error if older than 3 days

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0

 

by Mage2Gen
by Marcin Frymark
by Lukasz Linczewski

04/02 2018

1.0.1

1.0.1.0

Mark running cronjobs as error if older than 3 days

  Sources   Download

OSL-3.0 AFL-3.0

The Requires

  • php ~5.5.0|~5.6.0|~7.0.0

 

by Mage2Gen
by Marcin Frymark
by Lukasz Linczewski