Issue with Index Management
-
06-03-2021 - |
Pregunta
I am running bin/magento indexer:reindex command for indexing. In admin panel Systems->Index Management Updated column shows the updated indexing date for all except ' Product Categories ' and 'Product Price'.
How to resolve this?
Also i want to know how to set up cron for indexing if i choosed 'Update by schedule'
Solución
This is not an issue. When index updated using "Update on Save" this will not set last updated date. Whereas if you run indexing manually then it will set last updated date.
Just make sure you have enabled magento cronjobs by this command:
php bin/magento cron:install
For detail of Magento indexing you can follow my answer here:
https://magento.stackexchange.com/a/269629/31910
Otros consejos
First reset that two indexer and run indexer for that two index.
Run below command:
php bin/magento indexer:reset catalog_product_category catalog_product_price
php bin/magento indexer:reindex catalog_product_category catalog_product_price
php bin/magento cache:flush
For set up cron:
Install the cronjob by this command.
php bin/magento cron:install [--force]
Refer the link for more information:
https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html
Hope it help.