Lastheard pistar console script
#!/bin/bash clear while true; do curl -s http://localhost/api/last_heard.php |\ jq -r '"Callsign\tTransmit time\tMode\tTarget\tDuration", "---\t---\t---\t---\t---", (.[]|"\(.callsign)\t\(.time_utc)\t\(.mode)\t\(.target)\t\(.duration)" )'| column -t -s $'\t' sleep 3 clear done
Written on May 10, 2021