From 5ca86b49826225722ee957d3d04cef0c1b9ca7b5 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Tue, 15 Oct 2024 21:25:40 +0800 Subject: [PATCH] Laravel Vapor - Disable all schedule commands --- app/Console/Kernel.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index e455eea1..b201f682 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -31,27 +31,27 @@ class Kernel extends ConsoleKernel protected function schedule(Schedule $schedule) { - // $schedule->command('inspire')->hourly(); - $schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping(); + // // $schedule->command('inspire')->hourly(); + // $schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping(); - $schedule->command('seasonalSegmantCompany:remove') - ->dailyAt('01:00') - ->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log') - ->withoutOverlapping(); - - $schedule->command('delete:bulk-download-files') - ->hourly() - ->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log') - ->withoutOverlapping(); - - $schedule->command('booking:expired') - ->dailyAt('02:00') - ->appendOutputTo(storage_path().'/logs/expire-booking.log') - ->withoutOverlapping(); - - // $schedule->command('purchaseOrder:autoFill') - // ->dailyAt('03:00') + // $schedule->command('seasonalSegmantCompany:remove') + // ->dailyAt('01:00') + // ->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log') // ->withoutOverlapping(); + + // $schedule->command('delete:bulk-download-files') + // ->hourly() + // ->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log') + // ->withoutOverlapping(); + + // $schedule->command('booking:expired') + // ->dailyAt('02:00') + // ->appendOutputTo(storage_path().'/logs/expire-booking.log') + // ->withoutOverlapping(); + + // // $schedule->command('purchaseOrder:autoFill') + // // ->dailyAt('03:00') + // // ->withoutOverlapping(); } /**