SetStartStatus();
//Mark the job as finished
$task->SetStopStatus();
}
private function CloneSaverMail() {
//Setup time frame job has been sent so we don't send too many mails
//Store a new eve mail model for the job to dispatch
$mail = new EveMail;
$mail->sender = $self;
$mail->subject = 'Clone Saver Alert';
$mail->body = 'You have failed to change clones before undocking.
Please be advised we believe you should change your clones due to your expensive implants.
Sincerely,
The Clone Saver Team';
$mail->recipient = (int)$self;
$mail->recipient_type = 'character';
//Dispatch the job
SendEveMail::dispatch($mail)->delay(Carbon::now()->addSeconds(1));
}
}