magemojo / m2-ce-cron

Magento 2 cron project to fix bugs and common cron issues.
https://magemojo.com
MIT License
165 stars 45 forks source link

Initialize the area code for jobs run with `cron:execute` #52

Closed blmage closed 6 years ago

blmage commented 6 years ago

Prevent from getting this error when running a single job by code: Area code not set: Area code must be set before starting a session.