There was a problem running the cron

there is this message in the administration panel

 

There was a problem running the cron; make sure it’s setup and check logs at storage/logs/cron.log. See the docs

Did you check to see that the cron is set up correctly?

Did you check the logs?

Did you look through the docs to see what they say?

 don’t know what line of code I have to put in the CRON. I have the web on the hostinger server.

The documents to which it refers, load an empty page that does not contain anything

 

https://docs.phpvms.net/configuration/cron

Looking thru the docs, this pops up…

https://docs.phpvms.net/installation/cron/

what is the task and the path that cron has to execute?

I put
artisan schedule: run
the error continues

Did you follow the details in the link I posted to the letter?

I don’t believe “artisan schedule: run” is all that is needed in the cron line.

1 Like

I don’t know what to write. I don’t understand the instructions. She gives an example but I can’t get it to work

3 hours ago, polirom said:

I don’t know what to write. I don’t understand the instructions. She gives an example but I can’t get it to work

 

Then contact your host about it and they can guide you on what you need to put to configure it

What script does the cron have to run

https://docs.phpvms.net/installation/cron/

 

The link has directions and an example of what needs to be in the cron. Your host should be able to help you configure it to work on your site.