0

On Magento2 with the following setting on cPanel, cronjob was working.

  • /usr/local/bin/php /home/mystore/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /home/mystore/var/log/magento.cron.log
  • /usr/local/bin/php /home/mystore/update/cron.php >> /home/mystore/var/log/update.cron.log
  • /usr/local/bin/php /home/mystore/bin/magento setup:cron:run >> /home/mystore/var/log/setup.cron.log

However, once I have set up multi store, it stopped. How can I fix this?

  • Try to run php bin/magento cron:run – Ankit Shah Jan 6 '17 at 7:03
  • with SSH? or in cronjob setting of cPanel? – rtk0407 Jan 6 '17 at 7:35
  • Using SSH please – Ankit Shah Jan 6 '17 at 7:36
  • it says "Ran jobs by schedule." – rtk0407 Jan 6 '17 at 8:47
  • I upgraded to 2.1.3 and somehow it is working now – rtk0407 Jan 7 '17 at 13:31

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.