Merge branch 'dillon/70-laravel-vapor' into 'master'

Laravel Vapor - Disable all schedule commands

See merge request CIEFWorldwideSdnBhd/shipping-portal!237
This commit is contained in:
Dillon Ngo
2024-09-13 17:43:28 +00:00
+36 -36
View File
@@ -28,50 +28,50 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
$schedule->command('command:curlVTCommand') // $schedule->command('command:curlVTCommand')
->cron('0 8 * * *') // ->cron('0 8 * * *')
->withoutOverlapping() // ->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/curlvt.log'); // ->appendOutputTo (storage_path().'/logs/curlvt.log');
$schedule->command('command:curlYdOrderListCommand')
->cron('0 9-18/3 * * *')
->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/curlyd.log');
$schedule->command('fix-packinglist')
->cron('30 9-18/3 * * *')
->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/fix_packinglist.log');
// $schedule->command('command:curlYdOrderListCommand') // $schedule->command('command:curlYdOrderListCommand')
// ->cron('0 9 * * *') // ->cron('0 9-18/3 * * *')
// ->withoutOverlapping() // ->withoutOverlapping()
// ->appendOutputTo (storage_path().'/logs/departure_email.log'); // ->appendOutputTo (storage_path().'/logs/curlyd.log');
$schedule->command('fix-duplicate-container-reference') // $schedule->command('fix-packinglist')
->cron('0 1 * * *') // ->cron('30 9-18/3 * * *')
->withoutOverlapping() // ->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/fix_duplicate_container_reference.log'); // ->appendOutputTo (storage_path().'/logs/fix_packinglist.log');
$schedule->command('invoice:generate') // // $schedule->command('command:curlYdOrderListCommand')
->hourly() // // ->cron('0 9 * * *')
->withoutOverlapping() // // ->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/auto_generate_invoice.log'); // // ->appendOutputTo (storage_path().'/logs/departure_email.log');
$schedule->command('billplz-failed-callback:fix') // $schedule->command('fix-duplicate-container-reference')
->hourly() // ->cron('0 1 * * *')
->withoutOverlapping() // ->withoutOverlapping()
->appendOutputTo (storage_path().'/logs/fix_failed_callback_from_billplz.log'); // ->appendOutputTo (storage_path().'/logs/fix_duplicate_container_reference.log');
$schedule->command('check-storage-invoices-group-transactions') // $schedule->command('invoice:generate')
->dailyAt('0:01') // ->hourly()
->withoutOverlapping() // ->withoutOverlapping()
->appendOutputTo(storage_path().'/logs/check_storage_invoices.log'); // ->appendOutputTo (storage_path().'/logs/auto_generate_invoice.log');
$schedule->command('permitsReminder:send') // $schedule->command('billplz-failed-callback:fix')
->dailyAt('09:30') // ->hourly()
->withoutOverlapping() // ->withoutOverlapping()
->appendOutputTo(storage_path().'/logs/permits-reminder-send.log'); // ->appendOutputTo (storage_path().'/logs/fix_failed_callback_from_billplz.log');
// $schedule->command('check-storage-invoices-group-transactions')
// ->dailyAt('0:01')
// ->withoutOverlapping()
// ->appendOutputTo(storage_path().'/logs/check_storage_invoices.log');
// $schedule->command('permitsReminder:send')
// ->dailyAt('09:30')
// ->withoutOverlapping()
// ->appendOutputTo(storage_path().'/logs/permits-reminder-send.log');
} }
/** /**