Laravel Run -Zeitplan nur bei Produktion

if (App::environment('production')) {
   $schedule->command('file:generate')
         ->daily();
   //run your commands here

}
Thoughtless Tortoise