Hello
I have a php script that is executed a shell Script after a click.
That works fine.
is it possible that another shell script is executed after a waiting period?
I have a php script that is executed a shell Script after a click.
That works fine.
is it possible that another shell script is executed after a waiting period?
PHP:
<?php
if ($_GET['run']) {
$script = "sudo /home/pi/midori-restart.sh";
$run=`$script`;
}
?>
<style type="text/css">
a { color: #ffffff; text-decoration: none; }
</style>
<a href="?run=true">Display restart</a>