Laravel Vapor - Disable all schedule commands

This commit is contained in:
Dillon Ngo
2024-10-15 21:25:40 +08:00
parent bf5dd998e0
commit 5ca86b4982
+19 -19
View File
@@ -31,27 +31,27 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
// $schedule->command('inspire')->hourly(); // // $schedule->command('inspire')->hourly();
$schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping(); // $schedule->command('mail:EmailDoToVTCommand')->dailyAt('10:00')->withoutOverlapping();
$schedule->command('seasonalSegmantCompany:remove') // $schedule->command('seasonalSegmantCompany:remove')
->dailyAt('01:00') // ->dailyAt('01:00')
->appendOutputTo(storage_path().'/logs/soft-delete-seasonal-segmant-company.log') // ->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(); // ->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();
} }
/** /**