diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-12 00:04:50 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-12 00:04:50 +0100 |
commit | 75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7 (patch) | |
tree | 7a77a206dc399839dc75fc1a3bb8279413800302 /www/stanje.php | |
parent | lepši makefile (diff) | |
download | travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar.gz travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar.bz2 travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar.lz travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar.xz travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.tar.zst travnik-75af3d9de2fd45cdc5ba1b6427bba725c56f4fd7.zip |
Diffstat (limited to '')
-rw-r--r-- | www/stanje.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/stanje.php b/www/stanje.php new file mode 100644 index 0000000..da429e1 --- /dev/null +++ b/www/stanje.php @@ -0,0 +1,6 @@ +<pre> +<?php + shell_exec("echo > ../tmp/stanje.txt && sleep 1 && pkill -sigusr1 travnik"); + sleep(1); + echo file_get_contents("../tmp/stanje.txt"); +?> |