last sensor status
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 23 Feb 2023 08:01:31 +0000 (09:01 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 23 Feb 2023 08:06:11 +0000 (09:06 +0100)
www/cgi-bin/last.cgi [new file with mode: 0755]

diff --git a/www/cgi-bin/last.cgi b/www/cgi-bin/last.cgi
new file mode 100755 (executable)
index 0000000..4020db0
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+echo "Content-type: text/plain"
+echo
+
+cd /home/dpavlin/zc/
+
+./last-heartbeat.sh x | cut -d/ -f2- | tr '/' ' '
+