Compare commits

...

2 Commits

Author SHA1 Message Date
Dillon Ngo 295072153d Merge branch 'dillon/70-laravel-vapor' into 'master'
Laravel Vapor - Disable all schedule commands

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