Exemple de code du noyau Laravel Schedule

    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('YOURcommand:YOURswitch')->dailyAt('01:00');
        $schedule->command('queue:work', ['--max-time' => 3600])->withoutOverlapping();
    }
Excited Elephant