fixing E-Mail
This commit is contained in:
parent
e82490018c
commit
9d08aa7b99
|
@ -121,10 +121,10 @@ while($latesEndTime - time() > 60){
|
|||
else {
|
||||
convertcsvToXlsx(str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]), str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]));
|
||||
unlink(str_replace(".json", ".csv", $downloadDir.'/'.$taskfiles[0]));
|
||||
sendEmail($task['email'], str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]), $smtppassword);
|
||||
unlink($taskDir.'/'.$taskfiles[0]);
|
||||
echo "Task File deleted";
|
||||
echo "<br>";
|
||||
sendEmail($task['email'], str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]), $smtppassword);
|
||||
}
|
||||
} else {
|
||||
// acutal Time - start time
|
||||
|
|
Loading…
Reference in New Issue