1

I get a problem about cron jobs.

I have followed the tutorial both on 2.0 and 2.2

http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html#config-cli-cron-bkg

http://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html

And did setup of cron jobs,

enter image description here

I can ensure the location of the files are correct, because I have double checked many times. But the error "One or more indexers are invalid. Make sure your Magento cron job is running." remains there. I also clear the cache but it does not work...

Can anyone help me? Thanks for any advises.

1
  • you should include php bin/magento indexer:reindex in cron your too, before running the main cron Commented Dec 6, 2017 at 4:38

1 Answer 1

0

Run these commands into your terminal This will reindex your all files

php bin/magento indexer:reindex

php bin/magento cache:flush

Check again if still any problem persists.

Thank You!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.