I want to use symfony console command for cron job. It's working right in dev enviroment, but if I switch mode to production, I get an error "There are no commands defined in the "cron" namespace. isEnabled() method always returns true.
I want to use symfony console command for cron job. It's working right in dev enviroment, but if I switch mode to production, I get an error "There are no commands defined in the "cron" namespace. isEnabled() method always returns true.
The composer update doesn't actually fix this problem, not directly. It was the commands at the end of the update bin/console cache:clear