How to configure Cron job in Magento 2?

Cron script readiness check failed? For example without cron running it is almost impossible to enable new modules.

After cron is set up even php related issues will probably will disappear as shown at below:

Error message:

Error from Setup Application Cron Script:
Cron job has not been configured yet
Other checks will fail as a result (PHP version, PHP settings, and PHP extensions)

Error from Updater Application Cron Script:
Cron job has not been configured yet

Easiest way is to do it through command line

  1. Start a SSH session from the command line
  2. Inside Magento folder type command:
php bin/magento cron:install

or when cron needs to be updated

php bin/magento cron:install --force

Leave a comment

Your email address will not be published.