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");