I followed the tutorial here: http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html and tried configuring the crons with mamp but in readiness check for upgrade it still shows as not working.
In crontab (sudo crontab -u user -e
) I have:
*/1 * * * * php -c /Library/Application\ Support/appsolute/MAMP\ PRO/conf/php.ini /User/magento-2/bin/magento cron:run >> /User/magento-2/var/log/setup.cron.log&
*/1 * * * * php -c /Library/Application\ Support/appsolute/MAMP\ PRO/conf/php.ini /User/magento-2/update/cron.php >> /User/magento-2/var/log/setup.cron.log&
*/1 * * * * php -c /Library/Application\ Support/appsolute/MAMP\ PRO/conf/php.ini /User/magento-2/bin/magento setup:cron:run >> /User/magento-2/var/log/setup.cron.log&
I tried with /usr/bin/php
instead of php but still not working. The path to the php.ini file is the one that the webserver loads with phpinfo()
. Could it be that the cron is trying to use another php.ini? There are no errors in the logs.