From 6caa68cfa4034499f06fe6ff991eaf41f40a146c Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 19 Jul 2022 19:21:55 +0800 Subject: [PATCH] fix vt packing list api --- app/Console/Commands/CurlVTCommand.php | 3 --- app/Console/Kernel.php | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/Console/Commands/CurlVTCommand.php b/app/Console/Commands/CurlVTCommand.php index 2fa093e4..c0fc5b5d 100644 --- a/app/Console/Commands/CurlVTCommand.php +++ b/app/Console/Commands/CurlVTCommand.php @@ -49,9 +49,6 @@ class CurlVTCommand extends Command { return FetchWarehouseReceiveListFromVTPortalJob::withChain([ new FetchLoadedContainersFromVTPortalJob, - new FetchPackingListFromVTPortalJob, - new FetchContainersStatusUpdateFromVTPortalJob, - new FetchDeliveryListFromVTPortalJob ])->dispatch(); } } diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 885b78cc..5fc88d3c 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -28,10 +28,10 @@ class Kernel extends ConsoleKernel protected function schedule(Schedule $schedule) { -// $schedule->command('command:curlVTCommand') -// ->cron('0 9-18/3 * * *') -// ->withoutOverlapping() -// ->appendOutputTo (storage_path().'/logs/curlvt.log'); + $schedule->command('command:curlVTCommand') + ->cron('0 8 * * *') + ->withoutOverlapping() + ->appendOutputTo (storage_path().'/logs/curlvt.log'); $schedule->command('command:curlYdOrderListCommand') ->cron('30 9-18/3 * * *')