From 5914512604fa23a4257037eae2f82c3acb93e424 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 3 Dec 2020 20:12:50 +0100 Subject: [PATCH] +| --- openwrt-add-temper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt-add-temper.sh b/openwrt-add-temper.sh index 585f772..3b66ac1 100755 --- a/openwrt-add-temper.sh +++ b/openwrt-add-temper.sh @@ -26,7 +26,7 @@ rmdir temper-py-0.0.1 chmod a+rx /usr/bin/temper.py if ! grep -q temper /etc/crontabs/root; then - echo "*/5 * * * * /usr/bin/temper.py awk '{ print $7 " " $8 }' > /www/temperature.txt" >> /etc/crontabs/root + echo "*/5 * * * * /usr/bin/temper.py | awk '{ print $7 " " $8 }' > /www/temperature.txt" >> /etc/crontabs/root fi EOF