cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.1.2 Readiness check error

Magento 2.1.2 Readiness check error

Hello Magento members,

I have some problems with Magento when I open the Component Manager.
The Readiness check of the Component Manager shows the following errors:

Check Cron Scripts
Check Component Dependency
PHP Version Check
PHP Settings Check *
PHP Extensions Check

I changed both (First php and second php) my php versions in Directadmin to PHP 7.

I would also like to know how to set up a cron job with Directadmin.

Solved


To solve this problem I ran this code:

php domains/mydomain.com/public_html/bin/magento cron:run | grep -v "Ran jobs by schedule" >> domains/mydomain.com/public_html/var/log/magento.cron.log
php domains/mydomain.com/public_html/update/cron.php >> domains/mydomain.com/public_html/var/log/update.cron.log
php domains/mydomain.com/public_html/bin/magento setup:cron:run >> domains/mydomain.com/public_html/var/log/setup.cron.log

 

Can somebody explain me if I did this right?