shell script to set time and date on ubuntu
- by glapo
my desktop CMOS battery is not working, therefore I have to set time and date each time my computer starts up. I want to create a shell script to automate the setting of date and time on my computer after each boot is complete.
options that exist include:
1. buying a CMOS battery :- am considering this, but for the meantime a
shell script will do.
2. using NTP to synchronize time and date with
internet servers :- am not connected to the internet.