Report this

What is the reason for this report?

How to run crontab for Magento upgrade

Posted on March 19, 2017

I have Magento 2.0.7 and i want to upgrade to 2.1.5 which is the latest version of Magento but I’m having a problem with crontab when i try to upgrade the system and I do Readiness check it gives me a problem :

Example link

I tried this tutorial: http://devdocs.magento.com/guides/v2.0/comp-mgr/upgrader/upgrade-checklist.html

and i used these lines:

* * * * * /usr/bin/php /var/www/magento/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento/var/log/magento.cron.log
* * * * * /usr/bin/php /var/www/magento/update/cron.php >> /var/www/magento/var/log/update.cron.log
* * * * * /usr/bin/php /var/www/magento/bin/magento setup:cron:run >> /var/www/magento/var/log/setup.cron.log```  

but it's not working


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@hansen

i tried both /var/www/html/magento and /var/www/magento

This comment has been deleted

it’s in /var/www/html/magento

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.