May-26-2020, 09:14 PM
hello all,
i found this evening the time to check tis problem out ---- finally ....
in the example there is added a <script> to the HTML page
if i am correct, this script takes care of refressing every 15seconds
within the python code there is an scheduler job who reruns the calculation every 15 seconds
the problem is that 1 run of my code takes about 80-100 seconds
and i want to update my data every 10 seconds
if I split my runs in different methods, for each of my 4 webshops one method, then ....
thats where i get lost, i havent found the clue how to send the data 4 times to the HTML file
i wish it made sense to share my code with you guys
but i cannot give you acces to all 4 of the webshops of my suppliers.
i found this evening the time to check tis problem out ---- finally ....
in the example there is added a <script> to the HTML page
if i am correct, this script takes care of refressing every 15seconds
within the python code there is an scheduler job who reruns the calculation every 15 seconds
the problem is that 1 run of my code takes about 80-100 seconds
and i want to update my data every 10 seconds
if I split my runs in different methods, for each of my 4 webshops one method, then ....
thats where i get lost, i havent found the clue how to send the data 4 times to the HTML file
i wish it made sense to share my code with you guys
but i cannot give you acces to all 4 of the webshops of my suppliers.