charId = $jps->charId; $this->corpId = $jps->corpId; $this->page = $jps->page; //Set the connection for the job $this->connection = 'redis'; } /** * Execute the job. * The job's task is to get all of the information for a particular structure * and store it in the database. This task can take a few seconds because of the ESI * calls required to store the information. We leave this type of job up to the queue * in order to take the load off of the cron job. * * @return void */ public function handle() { $sHelper = new StructureHelper; $sHelper->Start($this->charId, $this->corpId, $this->page); } }