Magento – How to setup Magento 2.2 cron job

cpanelcronmagento2.2

I have just made a fresh installation of Magento 2.2.1 to eventually be able to migrate from my present 1.7.

But I already encountered some difficulties.
The message "One or more indexes are invalid. Make sure your Magento cron job is running." is showing in admin.

I tried to google how to get the cron job running but can't find how to do it in cPanel, and I don't understand how to get it running.
I do not have SSH access and can't do anything through CLI. Does anybody know how I can get this cron thing set up and working from cPanel?

Best Answer

you can add ssh via cpanel. try this link

after ssh is enabled.you have access to your instance, go to the Magento 2 root directory and run php bin/magento cron:install.