mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
add over weight cbm to yd
This commit is contained in:
@@ -28,15 +28,15 @@ class Kernel extends ConsoleKernel
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
|
||||
$schedule->command('command:curlYdOrderListCommand')
|
||||
$schedule->command('command:curlVTCommand')
|
||||
->cron('0 9-18/3 * * *')
|
||||
->withoutOverlapping()
|
||||
->appendOutputTo (storage_path().'/logs/curlyd.log');
|
||||
->appendOutputTo (storage_path().'/logs/curlvt.log');
|
||||
|
||||
$schedule->command('command:curlVTCommand')
|
||||
$schedule->command('command:curlYdOrderListCommand')
|
||||
->cron('30 9-18/3 * * *')
|
||||
->withoutOverlapping()
|
||||
->appendOutputTo (storage_path().'/logs/curlvt.log');
|
||||
->appendOutputTo (storage_path().'/logs/curlyd.log');
|
||||
|
||||
|
||||
}
|
||||
|
||||
+2
-3
@@ -93,13 +93,12 @@ Route::get('/customer/{marking}', function ($marking) {
|
||||
|
||||
Route::get('/orders/refresh', function(){
|
||||
|
||||
FetchOrdersFromYDPortalJob::dispatch();
|
||||
|
||||
FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
new FetchLoadedContainersFromVTPortalJob,
|
||||
new FetchPackingListFromVTPortalJob,
|
||||
new FetchContainersStatusUpdateFromVTPortalJob,
|
||||
new FetchDeliveryListFromVTPortalJob
|
||||
new FetchDeliveryListFromVTPortalJob,
|
||||
new FetchOrdersFromYDPortalJob
|
||||
])->dispatch();
|
||||
|
||||
return redirect('orders');
|
||||
|
||||
Reference in New Issue
Block a user