Cron job has not been configured yet

Installation extension error

PS D:\xampp\htdocs\magento2> php bin/magento setup:cron:run
#!/usr/bin/env php
setup-cron: Please check var/log/update.log for execution summary.

You can see
setup-cron.ERROR: Your current PHP memory limit is 328M. Magento 2 requires it to be set to 756M or more. As a user with root privileges, edit your php.ini file to increase memory_limit.

See if the following file exists:
Magento install dir/var/.setup_cronjob_status
If the file exists, cron has run successfully in the past.

magento-directory/setup/src/Magento/Setup/Controller/Environment.php

commented out :
//$setupCheck = $this->cronScriptReadinessCheck->checkSetup();
//$updaterCheck = $this->cronScriptReadinessCheck->checkUpdater();

and replaced it with :
$setupCheck = ['success' => 1];
$updaterCheck = ['success' => 1];

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s