command = $command; $this->args = $args; } public function handle() { Log::channel("jobs")->info("A job started: CallCommand ".$this->command); try{ Artisan::call($this->command, $this->args); }catch(\Exception $ex){ Log::channel("jobs")->error("A job failed: CallCommand ".$this->command. " EX:".$ex); } Log::channel("jobs")->info("A job finished: CallCommand ".$this->command); } }