Update weekly_stats.yaml

This commit is contained in:
Alexandre
2023-01-09 13:25:53 +01:00
committed by GitHub
parent 7c4dac6b29
commit 87dd4dc9f0

View File

@@ -131,13 +131,14 @@ jobs:
print str print str
} }
}' Stats3 > StatsTmp && mv StatsTmp Stats3 }' Stats3 > StatsTmp && mv StatsTmp Stats3
sed -i "1d" Stats3
# Plot graph # Plot graph
sudo apt-get install gnuplot-nox -y sudo apt-get install gnuplot-nox -y
gnuplot-nox -persist <<-EOFMarker gnuplot-nox -persist <<-EOFMarker
set xdata time set xdata time
set timefmt "%y-%m-%d" set timefmt "%y-%m-%d"
set format x "%y-%m-%d" set format x "%y-%m-%d"
plot for [i=1:*] 'Stats3' using 0:i with lines title 'Column '.i plot for [i=1:*] 'Stats3'
set term png set term png
set output "stats.png" set output "stats.png"
replot replot