How to disable the «Cron script readiness check» on a Magento 2 upgrade?

Use it only as a temporary solution!

Locate the line:

And replace it with the new one:

$updaterCheck = ['success' => 1];

It is for an upgrade only.
If you are doing an installation then follow the instruction How to disable the «Cron script readiness check» on a Magento 2 installation?

See also:

in Magento 2.3.1 you can find this on
line 217