Sometimes the indexer catalog_product_category doesn't automatically run when assigning new products to a category, so products aren't displayed at the shop. I've to manually reset this indexer in the shell before it's reindexed and the products are displayed at new assigned category.

I've tried a lot of things and worked through many forums, but no solution yet. So I want to try the following:

Reset the indexer catalog_product_category every night by a cronjob. However, I'm unable to figure out the right cronjob command to reset the indexer. Does anyone know this? Thanks!

1 Answer 1



/usr/local/bin/php /home/abc/domains/domain.nl/public_html/bin/magento indexer:reset catalog_product_category

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.