Plugin to Magento 2 which mark old cron jobs with status "running" as error. This can prevent the Magento 2 from consuming CPU
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

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.

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.

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

More informations you will find on our blog:


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