+|
This commit is contained in:
parent
08fa6135fa
commit
5914512604
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue