propertyId = $propertyId; $this->language = $language; $this->email = $email; } /** * Execute the job. */ public function handle() { chdir(base_path()); Artisan::call('cron:property-catalog-service', [ 'property_id' => $this->propertyId, 'language' => $this->language, '--email' => $this->email, ]); } }