1

I setup the cronjob in Magento 2.1.7 but I got an unexpected result. All the indexer were updated except Product category an Category product when I add a new product.

Check in the cron_schedule table, but no exception found i.e, all the crons are updated succesfully.

Newly added product is not showing in category not in search. Cron has not throwing any error.

When I run the indexer manually then all product is shown.

1 Answer 1

1

My Suggestion to add the reindexing command as individual cron like cron.php

php5-cli  -d memory_limit=10G [MagentoDirectoryLocation]/bin/magento indexer:reindex >> [MagentoDirectoryLocation]//var/log/indexer.cron.log

Add this comment to cron job list of server

Assume: your php client is php5-cli, this should same as php client location of cron.php

1
  • I add an individual indexer command for the Product Categories, but this also raise an issue with the cache. But this is not the actual solution for the issue. Aug 21, 2017 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.