How to fix «There are no commands defined in the “setup:cron” namespace» onbin/magento setup:cron:run in Magento ≥ 2.3.7?
bin/magento setup:cron:run