fix vt packing list api

This commit is contained in:
omair saleh
2022-07-19 19:21:55 +08:00
parent 582534849a
commit 6caa68cfa4
2 changed files with 4 additions and 7 deletions
-3
View File
@@ -49,9 +49,6 @@ class CurlVTCommand extends Command
{
return FetchWarehouseReceiveListFromVTPortalJob::withChain([
new FetchLoadedContainersFromVTPortalJob,
new FetchPackingListFromVTPortalJob,
new FetchContainersStatusUpdateFromVTPortalJob,
new FetchDeliveryListFromVTPortalJob
])->dispatch();
}
}
+4 -4
View File
@@ -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 * * *')