What's wrong with this script?
Posted: Sun Dec 20, 2020 1:02 pm
The idea is to add annual data to a simple txt file. The sh script:
#!/bin/sh
#
echo $1,$2,$3,$4 >> /tmp/mnt/data/export/annualDB.csv
The Service:
execution: before end of the year
script is selected
parameters: [YYYY] [th0temp-yavg.000001: ] [rain0total-yearsum.000001: ] [sol0rad-yavg.01: ]
The problem:
for any reason the output file is not updated at all
Thanks
#!/bin/sh
#
echo $1,$2,$3,$4 >> /tmp/mnt/data/export/annualDB.csv
The Service:
execution: before end of the year
script is selected
parameters: [YYYY] [th0temp-yavg.000001: ] [rain0total-yearsum.000001: ] [sol0rad-yavg.01: ]
The problem:
for any reason the output file is not updated at all
Thanks