From b5c26c48bf00432c9264bdcc17a9db41e91e058f Mon Sep 17 00:00:00 2001 From: schrom01 Date: Tue, 26 Sep 2023 13:37:11 +0200 Subject: [PATCH] fixing E-Mail --- emailSender.php | 4 ---- taskExecuter.php | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/emailSender.php b/emailSender.php index ae179d8..aa1c18f 100644 --- a/emailSender.php +++ b/emailSender.php @@ -39,10 +39,6 @@ function sendEmail($emailAddress, $filename, $smtppassword) echo "Email status:".$status; echo "Email Response:".$response; } - -echo "test1"; -sendEmail("roman.schenk37@gmail.com", "testfile.xlsx", "_W89]bOdQT'9^l!"); -echo "test2"; ?> diff --git a/taskExecuter.php b/taskExecuter.php index 131d8ca..245de43 100644 --- a/taskExecuter.php +++ b/taskExecuter.php @@ -4,10 +4,10 @@ include "read_write_xlsx.php"; include "emailSender.php"; -$maxExecutionTime = 65; +$maxExecutionTime = 300; $taskDir = 'tasks'; $downloadDir = 'download'; -$minTaskOldness = 3; +$minTaskOldness = 30; $latesEndTime = time() + $maxExecutionTime; $smtppassword = getenv("smtppassword");