Align scraper script

This commit is contained in:
Florian Reimair 2020-02-27 11:26:26 +01:00
parent ebdff5661d
commit cfa55df4b2
No known key found for this signature in database
GPG key ID: 05634D8D7A7954C8

View file

@ -8,7 +8,7 @@ while true;
do
now=$(date +"%F %T")
journalctl -u bisq --since="$last" --until="$now" | grep -Eo "getAllMarketPrices.*bisq/[0-9].[0-9].[0-9]" | cut -d / -f 2 | sort | uniq -c | while read -r line; do
journalctl -u bisq-pricenode --since="$last" --until="$now" | grep -Eo "getAllMarketPrices.*bisq/[0-9].[0-9].[0-9]" | cut -d / -f 2 | sort | uniq -c | while read -r line; do
number=$(echo "${line}" | cut -d ' ' -f 1);
version=$(echo "${line}" | cut -d \ -f 2);
version=${version//./_};