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