Laravel Run Schedule solo en producción
if (App::environment('production')) {
$schedule->command('file:generate')
->daily();
//run your commands here
}
Thoughtless Tortoise