process = $process; $this->onQueue($process); } /** * Execute the job. * * @return void */ public function handle() { file_put_contents( public_path('pupeteer/' . time() . '.jpg'), file_get_contents('http://puppeteer:4000?url=' . env('PUPPETEER_URL')) ); } }