I would like to have different behaviour if a Command is executed from console and when is executed by the scheduler. Is there a way to check this from the command handle() method?
This is not a duplicate of Detect if running from the command line in Laravel 5
In the "marked as duplicate" one, it's answered how to detect if the code is running from Console, but in my case both manually triggered and CRON executed are running from Console, so doesn't solve my problem.