I have a shell script which is excecuted in a php file to get the temperature.
<?php
$output = shell_exec('sh temperature.sh');
echo "<pre>$output°C</pre>";
?>
Right now it is only excecuted once. How do I need to change the php file so the Value is always up to date?
Thanks