From 9d08aa7b99e4292c0edbc5be929f26c3fe43ef29 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Tue, 26 Sep 2023 00:13:28 +0200 Subject: [PATCH] fixing E-Mail --- taskExecuter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskExecuter.php b/taskExecuter.php index e94045e..aa0ffe0 100644 --- a/taskExecuter.php +++ b/taskExecuter.php @@ -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 "
"; + sendEmail($task['email'], str_replace(".json", ".xlsx", $downloadDir.'/'.$taskfiles[0]), $smtppassword); } } else { // acutal Time - start time