please help, i am using WAMP server 3 on windows and i have installed Magento 2. but i am getting the following issue.
One or more indexers are invalid. Make sure your Magento cron job is running.
what is the solution for this one
Magento allows indexing by cron and command line interface
If cron is setup in your server magento will automatically indexing all data but in your local environment cron will not work, so you need to manually run the indexing command from CMD
Use following command to run reindexing
'Magento root'/bin/magento indexer:reindex
It will reindex all the indexers but make sure php command must be set in global environment
I had the same problem, the following steps worked for me:
.\php c:\wamp\www\xxxxx\bin\magento indexer:reindex
change directory to magento root directory
$ cd <magento-root-folder>
after that run below command
it will solve your problem
for more details, visit the below link
Cron Jobs is a sheduled activities, it will automatically run every particular time interval. You can also able to run by commandline.
Run cron Jobs by command line
$ magento cron:run
for more details visit the below link