cancel
Showing results for 
Search instead for 
Did you mean: 

How to make sure your Magento cron job is running

SOLVED

How to make sure your Magento cron job is running

Hi Guys

I m new to Magento,

Just install and start to configure the magento 2.0 and facing 

One or more indexers are invalid . Make sure your Magento Cron job is running.

Can some one help me out

Tags (1)
3 REPLIES

Re: How to make sure your Magento cron job is running

You need to run indexer command to solve this error.
From the root of your magento path,

php bin/magento indexer:reindex

Check cron is working or not, run below command,

php bin/magento cron:run


Also, run the command from the root,
crontab -l
List all cron if you have cron otherwise display default cron.

If Issue Solved, Click Kudos/Accept As solutions.

Re: How to make sure your Magento cron job is running

Thanks so much,

 

i hade to work without the php at the beginning

 

i don't understand why there is nobody that can explain this issue as it concerns a problem that almost everybody should have regarding the setup of magento.

 

3 Lines of you -> Problem solved!!!

You made my day!

&

Shame on you Magento how2 authors!

Re: How to make sure your Magento cron job is running

Rakesh - Man you rock! I had no idea how to fix this issue but your advice was it. I'm hosting a magento free edition using my godaddy hosting service. I downloaded WinSCP and then logged in (using the info from my GoDaddy cpanel) and then clicked in to my website's "folder" (directory is the technical term?) and then clicked on the little black icon in WinSCP that looks like an old DOS icon -- I'm guessing this is the command line input button. Then I copied and pasted in each of the terms you wrote and clicked "Execute" after each one, and it ran cron and when I went back to the admin panel on Magento and refreshed, the error went away!