cancel
Showing results for 
Search instead for 
Did you mean: 

Cron setup OSX localhost

Cron setup OSX localhost

I'm trying to run the update and Cron script readiness fails:

Cron script readiness check failed.

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

 

crontab -u root -l returns the following:

*/1 * * * * php -c /Applications/MAMP/bin/php/php5.6.10/conf/php.ini Sites/magento2/bin/magento cron:run
*/1 * * * * php -c /Applications/MAMP/bin/php/php5.6.10/conf/php.ini Sites/magento2/update/cron.php
*/1 * * * * php -c /Applications/MAMP/bin/php/php5.6.10/conf/php.ini Sites/magento2/bin/magento setup:cron:run

 

Any ideas?

Thanks

 

 

5 REPLIES

Re: Cron setup OSX localhost

There can be several reasons for the "Cron script readiness check failed" message: https://mage2.pro/t/541
You can setup breakpoints or logging to diagnose the actual error reason.

Re: Cron setup OSX localhost

I ran the cron setup command manually and the error went away.

Re: Cron setup OSX localhost

cron still doesn't run however. Anybody know how to get cron running on localhost?

Re: Cron setup OSX localhost

have you find the answer?

Re: Cron setup OSX localhost

have you find the answer?im looking for the answer 2 how to run cron job on magento 2 installed in localhost please pass many thanks