command(Nightly::class)->dailyAt('01:00'); $schedule->command(Weekly::class)->weeklyOn(0); $schedule->command(Monthly::class)->monthlyOn(1); } /** * Register the Closure based commands for the application. * @return void */ protected function commands(): void { require app_path('Routes/console.php'); $this->load(__DIR__ . '/Commands'); $this->load(__DIR__ . '/Cron'); } }