job(ExportTicketsState::class)->weekly()->fridays()->at('14:00'); $schedule->job(AutoCloseOldTickets::class)->dailyAt('08:00'); $schedule->job(WarnBeforeAutoCloseTicket::class)->dailyAt('08:05'); $schedule->command('app:update-gitlab-datas --is-cron')->hourly()->between('7:00', '19:00'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }