This commit is contained in:
Nico Schottelius 2020-12-03 20:12:50 +01:00
parent 08fa6135fa
commit 5914512604

View file

@ -26,7 +26,7 @@ rmdir temper-py-0.0.1
chmod a+rx /usr/bin/temper.py chmod a+rx /usr/bin/temper.py
if ! grep -q temper /etc/crontabs/root; then 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 fi
EOF EOF