How to check whether the reindex working or not in Magento?

The question:

I have seen the Index Management of our site via admin panel System->Index Management. While checking, some of the indexes haven’t updated. In this case, I’m not sure whether the index is working or not.

Please see the screenshot for better understanding.

enter image description here

Could anyone please guide me on how to check the reindex status?

The Solutions:

Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.

Method 1

There are three steps to schedule index cronjobs

  1. In store -> Configuration
  2. Through shell
  3. In crontab.xml

shell crontab will run magento cron for every 1 minute, it will check you Store->Config setting, and after that it will go to the crontab.xml to check cron scheduling.

So if you want to run using update and save, then you will need to schedule cron(Shell) for every 1 minute, and also 1 minute in configuration.

You don’t need to worry about crontab.xml because it has the best scheduling in default according to Magento default settings.

Now check in store -> Configuration

Go to

Store -> Configuration -> Advanced -> System

in Cron (Scheduled Tasks) check Cron configuration options for group: index and verify if General Scheduling Every is set to 1

After that, you will need to check cron scheduling on shell
crontab -e (for ubuntu).
Cron scheduling should be like this:

* * * * * /usr/bin/php7.1 /PATH_TO_YOUR_MAGENTO/bin/magento cron:run 2>&1 | grep -v "Ran jobs by schedule" >> /PATH_TO_YOUR_MAGENTO/var/log/magent$
* * * * * /usr/bin/php7.1 /PATH_TO_YOUR_MAGENTO/update/cron.php >> /PATH_TO_YOUR_MAGENTO/var/log/update.cron.log
* * * * * /usr/bin/php7.1 /PATH_TO_YOUR_MAGENTO/bin/magento setup:cron:run >> /PATH_TO_YOUR_MAGENTO/var/log/setup.cron.log

Note: Path should be set according to your project

That should fix your issue.

Method 2

You can check via command line:

php bin/magento i:status

Method 3

You have enabled Update on Save, so the reindex will occur in realtime whenever a change is made in the admin. So you might not have done any changes for that indexers product category and catalog rules, so that you are seeing the last updated date(i.e.) reindex has occurred when you made changes to those indexers in December and March.

So if you enable the reindex to Update on Schedule , the reindex will occur through cron job regularly.

Method 4

Indexers can be managed/updated by two following ways.

  1. Update on Save: This runs every time when ever you are making any changes to the particular field & save it. viz. When a customer is buying a product stock Index is get reindexed, When you are making any changes into the product price product price indexer is get reindexed. It works similarly for other indexers also.
  2. Update By Schedule: It is running based on the cron set in your Magento.

Here in your settings your Indexer update Action Mode is set on Update on Save & since you haven’t made any changes from long time into Product Categories & into the Product Price/Cart Price rule So it is not showing any update into it. As of you will create any cart rule or you will make any changes to the product category it will run the relevant indexers & then you can see the updates into that particular indexer.

If you want to run the indexers on the basis of cron schedule change the Action drop-down value to Update By Schedule & click on the submit. You can set these indexers cron from Below location.

  • Go to Admin > STORES > Settings > Configuration.
  • Go to Advanced > System > Cron (Schedule Task)
  • Change the values as per your requirement in Cron configuration options for group: index
  • Save the changes & flush the cache.

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Comment