How can i run my command method with a schedule after it's triggered?
$schedule = app(Schedule::class);
$products = $schedule->call((new Client($company_id))->getProducts())->everyTenMinutes();
How can i run my command method with a schedule after it's triggered?
$schedule = app(Schedule::class);
$products = $schedule->call((new Client($company_id))->getProducts())->everyTenMinutes();