update packinglists from vt portal jobs and schedule

This commit is contained in:
omair saleh
2021-08-29 19:33:04 +08:00
parent c07bcb6334
commit bea3836df8
11 changed files with 115 additions and 92 deletions
@@ -16,16 +16,16 @@ class FetchLoadedContainersFromVTPortalJob implements ShouldQueue
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public $timeout = 3600;
/**
* Execute the job.
*
* @param Carbon|null $start
* @param Carbon|null $end
* @return void
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function handle(?Carbon $start = null, ?Carbon $end = null)
public function handle()
{
(App()->make(FetchLoadedContainersFromVTPortalProcessor::class))->execute($start, $end);
(App()->make(FetchLoadedContainersFromVTPortalProcessor::class))->execute();
}
}