job status moved to before the delete portion

This commit is contained in:
2019-05-13 22:55:03 -05:00
parent 7775391308
commit 79323c2388
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -100,12 +100,12 @@ class SendEveMailJob implements ShouldQueue
return null;
}
$this->delete();
$status = new JobStatus;
$status->job_name = 'Send Eve Mail';
$status->complete = true;
$status->save();
$this->delete();
}
/**