Magento commands

If you get the below error in Magento 2

Check Cron Scripts

Cron script readiness check failed. Hide detail

Error from Setup Application Cron Script:
Cron job has not been configured yet
Other checks will fail as a result (PHP version, PHP settings, and PHP extensions)

Error from Updater Application Cron Script:
Cron job has not been configured yet

For additional assistance, see cron scripts help.


Do run the below commands in CMD prompt in the Magento root directory.

php bin/magento cron:run

php update/cron.php

php bin/magento setup:cron:run


To flush Magento cache: php bin/magento cache:flush


To Enable this module you need to follow these steps:

Enable the Module

php bin/magento module:enable Emizentech_Callforprice


Run Upgrade Setup

php bin/magento setup:upgrade


Re-Compile (in-case you have compilation enabled)

php bin/magento setup:di:compile


Update from composer : for already installed version

composer update emizentech/callforprice


Reindexing Command

php bin/magento indexer:reindex


Turn On Production Mode to run Magento 2 faster

To show the mode

php bin/magento deploy:mode:show


To set production mode. Click here for more info.

php bin/magento deploy:mode:set production

Print   Email

Related Articles