Meteohub as time server

Moderator: Mattk

Post Reply
ipe
Junior Boarder
Junior Boarder
Posts: 38
Joined: Sun Jul 31, 2011 10:00 am

Meteohub as time server

Post by ipe »

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:

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]
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`
Post Reply