This stupid highlighting system on this board makes hash bam into a bold instead of showing it.
The first line is #!..
Oh and that first sleep 60 makes sure the startup and radio is up before logging starts.
And only copy it to another system, if you delete or reset the log file the original task will loose track of the pipe and not write any updates until a reset.
This logs once every 60 seconds, if you want fewer logs you chan change that next to last line to like sleep 360 or so to get 5 minute logs.
-C
Oh if you have never used jq… Its’ a JSON query setup. So any type of JSON returns can be separated and returned with this call. You can get any data element by it’s . address in the query. There are even setups that you can make a query, and then learn the result, and then sub query them. Handy system.
Our request was going to come back as asked with all the fields, we got a lot, but we only wanted two, but remember the structure has ALL the fields.
With a web get we are asking for a JSON return with much data. We are processing the enteries we want to deal with, and discarding the others.
I write something like this, then I go back and edit it several times to make it better, but I always wonder if the poeple that read it the first time didn’t get the way I wanted to say it as i keep editing it and they read it.
I process thoughts in the screen, revise them, and sometimes rethink them totally. It’s a bother. The first people to read it only get my first thoughts. Later readers get a revised edition.
Intentare probarlo, podrĂas subir el archivo al GoogleDrive donde se subieron los datos recopilados para inmarsat, asĂ evitamos errores al crearlo nosotros, es una idea.
Gracias.
Translation:
I tried to try it, you could upload the file to GoogleDrive where the data collected for inmarsat was uploaded, so we avoid mistakes when creating it, it’s an idea.
Probado y funcionando, con algunos cambios para adaptarlo a mis necesidades y mis circunstancias.
Muchas gracias por el script, me está costando un poquito esto de hacerlo todo por comandos, pero leyendo y leyendo y aprendiendo, la cosa va adelante, ahora que ya dominaba el “nano” me encuentro con el “vi”.
Ya puedo dejar descansar al PC.
Muchas gracias.
translation:
Tested and working, with some changes to suit my needs and my circumstances.
Many thanks for the script, it’s costing me a little bit to do everything by commands, but reading and reading and learning, the thing goes ahead, now that I already mastered the “nano” I encounter the “vi”.
works nice!
First it wasn’t running as copying the text from the forum filled in garbage “^M” carachters at end of lines… had to remove that manually in vi
Now:
Sun Feb 12 15:32:42 UTC 2017 , 5.79, -114.03
Sun Feb 12 15:32:53 UTC 2017 , 5.28, -113.98
Sun Feb 12 15:33:03 UTC 2017 , 5.65, -113.96
Sun Feb 12 15:33:13 UTC 2017 , 5.55, -114.05
Sun Feb 12 15:33:23 UTC 2017 , 5.51, -114.01
Sun Feb 12 15:33:34 UTC 2017 , 5.74, -113.91
Sun Feb 12 15:33:44 UTC 2017 , 5.9, -113.92