add over weight cbm to yd

This commit is contained in:
omair saleh
2022-01-28 12:47:17 +08:00
parent fcdf4e32d7
commit 999d2f535d
2 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -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
View File
@@ -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');