/ Published in: Bash
Obviously, use a time server close to where you are.
The first line updates the System Time,
the second sets the Hardware Clock to the current System Time.
The first line updates the System Time,
the second sets the Hardware Clock to the current System Time.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/usr/sbin/ntpdate ntp5.warwick.ac.uk hwclock --systohc