I've searched everywhere and just can't seem to find the correct answer. I'm a complete novice when it comes to cron jobs! (However I do understand the principle behind them)
I'm running Magento 2.0.6 and I need to reindex – however I do not have SSH access and can't do anything through CLI. I do have access to cPanel and it's corresponding Cron Job utility. I was just wondering if anyone could tell me the exact command I need to pass to this utility?
These are my attempts at the cron jobs that I sourced from the Magento Documentation: (Does not work)
/usr/bin/php -c /usr/local/lib/php.ini /bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/log/magento.cron.log
/usr/bin/php -c /usr/local/lib/php.ini /update/cron.php >> /var/log/update.cron.log
/usr/bin/php -c /usr/local/lib/php.ini /bin/magento setup:cron:run >> /var/log/setup.cron.log
Can any one give me final solution which working
Best Answer
First you nee get root folder for you project, see http://support.hostgator.com/articles/cpanel/what-is-a-document-root-folder
than you can run cron as