Meteohub as time server
Posted: Thu Aug 18, 2011 4:31 pm
Thanks to meteohub, I'm using my station as a time server (using the radio-clock of my station).
I create a file /data/graphs/hora.html with (only) this line:
And now, I use this script to update the hour to a linux system in which the litium battery fails and I cannot install ntpd
date -u -s `wget -qO- http://meteohub.romerito.es:8000/meteoh ... ?file=hora`
I create a file /data/graphs/hora.html with (only) this line:
Code: Select all
[actual_date0_month_utc][actual_date0_day_utc][actual_date0_hour_utc][actual_date0_min_utc][actual_date0_year_utc].[actual_date0_sec_utc]
date -u -s `wget -qO- http://meteohub.romerito.es:8000/meteoh ... ?file=hora`