Вопрос

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'.

enter image description here

How to resolve this?

Also i want to know how to set up cron for indexing if i choosed 'Update by schedule'

Это было полезно?

Решение

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

Другие советы

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с magento.stackexchange
scroll top