command('backups:run "0 * * * *"')->hourly(); $schedule->command('backups:run "0 0 * * *"')->daily(); $schedule->command('backups:run "0 0 * * 0"')->weekly(); $schedule->command('backups:run "0 0 1 * *"')->monthly(); $schedule->command('metrics:delete-older-metrics')->daily(); $schedule->command('metrics:get')->everyMinute(); } /** * Register the commands for the application. */ protected function commands(): void { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }