delete(); try { $file = $data['file']; @unlink($file); return true; } catch (\Exception $e) { Log::write($e->getMessage()); $job->delete(); } } }