I get a problem about cron jobs.

I have followed the tutorial both on 2.0 and 2.2



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.

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

1 Answer 1


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!


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.