From 38eca91b8d362cfdd6ca317ea3f1e92545559920 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 23 Feb 2023 09:01:31 +0100 Subject: [PATCH 1/1] last sensor status --- www/cgi-bin/last.cgi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 www/cgi-bin/last.cgi diff --git a/www/cgi-bin/last.cgi b/www/cgi-bin/last.cgi new file mode 100755 index 0000000..4020db0 --- /dev/null +++ b/www/cgi-bin/last.cgi @@ -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 '/' ' ' + -- 2.20.1