Magento cron jobs may don't finish executing, get stuck, and prevent other cron jobs from running. This article shows how to reset the stuck cron jobs manually.
Use this command with caution! We recommend reading the Reset cron jobs article on DevDocs for more details.
- Make sure the Magento ECE-Tools are patched to v2002.0.4.
- SSH to your environment.
- Execute this command:
- The command resets all cron jobs, including those currently running; use it in exceptional cases only.
- Avoid using this solution when indexers are running.