I am new to magento platform and I have installed magento on a shared linux server and when I logged into my admin panel I saw this message and I don't know how to set cron jobs on my linux server.
You using terminal and enter command
This command create new index of magento in your database.
You can read more about setup cron job in Magento2 at http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html
To work with XAMPP installed on Windows,
First redirect to PHP folder in XAMPP by :
Then enter following command :
php C:\xampp\htdocs\magento2\bin\magento indexer:reindex
This will help you to remove the error.
when you use wamp in windows7 for magento, you can open the cmd run as administrator and type code below to fix that warning.
C:\wamp\bin\php\php7.0.4>php C:\wamp\www\magento2\bin\magento indexer:reindex
Note: Here, magento2 is project name
C:\xampp\php>php C:\xampp\htdocs\magento2\bin\magento indexer:reindex
run this command ... (magento2 is project name)
We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.