I use my Pi as part of a home automation system, logging and carrying out events according to time. It is connected to a working internet connection, but let's say the power temporarily goes out and the Pi boots up faster than the router - is there a command line or Bash to run for example 5 mins later for the Pi (Raspbian Wheezy) to update the date from the time server again?
Asked
Active
Viewed 129 times
1 Answers
1
Run ntpd in terminal - it's not too heavy a load and ensures your Pi's time is bang on all the time, RTC is good if you have no internet but ntpd is easy if you do...
Renier Delport
- 361
- 1
- 4
- 12
Mark Williams
- 317
- 3
- 7