change schedule for vt portal fetch

This commit is contained in:
omair saleh
2021-09-05 20:12:52 +08:00
parent b049c95ca2
commit 7d67e13b9e
+2 -2
View File
@@ -31,7 +31,7 @@ class Kernel extends ConsoleKernel
{
$schedule->call(function(){
FetchWarehouseReceiveListFromVTPortalJob::withChain([
return FetchWarehouseReceiveListFromVTPortalJob::withChain([
new FetchLoadedContainersFromVTPortalJob,
new FetchPackingListFromVTPortalJob,
new FetchContainersStatusUpdateFromVTPortalJob,
@@ -40,7 +40,7 @@ class Kernel extends ConsoleKernel
})->dailyAt('15:00');
$schedule->call(function(){
FetchWarehouseReceiveListFromVTPortalJob::withChain([
return FetchWarehouseReceiveListFromVTPortalJob::withChain([
new FetchLoadedContainersFromVTPortalJob,
new FetchPackingListFromVTPortalJob,
new FetchContainersStatusUpdateFromVTPortalJob,