4 ms·
Nice trick with the watch to download periodic: watch -n 30 "curl https://getconnected.southwestwifi.com/current.json https://getconnected.southwestwifi.com/cur
by punnerud 3y ago
Nice trick with the watch to download periodic:
watch -n 30 "curl https://getconnected.southwestwifi.com/current.json https://getconnected.southwestwifi.com/current.json | jq -c >> flight-logs"
I often use crontab, but this looks easier for testing. Thanks.
- jamesbvaughan 3y agoYeah, if this were something that I wanted to leave running for more than the duration of a flight, I'd reach for cron, but a bash one-liner was perfect for this use-case!