SetStartStatus();
//Mark the job as finished
$task->SetStopStatus();
}
private function CheckEsiScope() {
//Check the esi scope.
//If the esi scopes are not present then send a mail
$mail = new EveMail;
$mail->sender = 93738489;
$mail->subject = 'Incorrect ESI Scope(s)';
$mail->body = "You don't have the correct ESI Scope(s) registered.
" .
"Please register the following scopes:
" .
$scopes .
"Sincerely,
" .
"Amund Risalo";
$mail->recipient = (int)$charId;
$mail->recipient_type = 'character';
$mail->save();
SendEveMail::dispatch($mail)->delay(Carbon::now()->addMinutes(2));
}
private function CheckClone() {
}
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));
}
}