From 01095093d7c8fb8b977fdab23f3343224af9e5f5 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Mon, 25 Sep 2023 14:29:53 +0200 Subject: [PATCH] prepared Task Executer --- api.php | 2 +- index.php | 6 ++++- taskExecuter.php | 65 +++++++++++++++++++++++++++--------------------- 3 files changed, 43 insertions(+), 30 deletions(-) diff --git a/api.php b/api.php index 0bbd465..54d8e42 100644 --- a/api.php +++ b/api.php @@ -61,7 +61,7 @@ $requests_to_do = Array(); } $taskdata = Array(); $taskdata['requests'] = $requests_to_do; -$taskdata['email'] = 'roman.schenk37@gmail.com'; +$taskdata['email'] = $_POST['email']; $taskString = json_encode($taskdata); if(!is_dir($taskDir)){ mkdir($taskDir, 0755, true); diff --git a/index.php b/index.php index 8719a1f..554f52b 100644 --- a/index.php +++ b/index.php @@ -135,7 +135,11 @@ include "zefixAPI.php";

- + +

Das aufbereiten der Daten kann lange dauern. Sie einen Download-Link per E-Mail sobald die Daten bereit sind.

+

+ +