Updating time in linux
You could also uninstall ntpd all together (apt-get remove ntp) and add a cron script to use ntpdate every hour or so.
ntp service probably won't have meaningful value for you on this system, so remove that first.
fake-hwclock is a simple set of scripts to save the kernel's current clock periodically (including at shutdown) and restore it at boot so that the system clock keeps at least close to realtime.
With fake-hwclock installed your machine will not start up thinking it is 1970 all over again.
And that is just the beginning of telling time on Linux.
My dream is a lifestyle that doesn’t need clocks at all, but I haven’t figured out how to do that in Linux.
To learn more about this tool, head over to timedatectl man page. S enthusiast, an upcoming Linux Sys Admin, web developer, and currently a content creator for Tec Mint who loves working with computers and strongly believes in sharing knowledge.
If you have anything to say about this article, feel free to leave a comment for any more information to add. View all Posts Aaron Kili Aaron Kili is a Linux and F.
Search for updating time in linux:
The timedatectl utility enables you to automatically sync your Linux system clock with a remote group of servers using NTP.