Operating System - HP-UX
1753798 Members
8007 Online
108805 Solutions
New Discussion юеВ

Re: Reseting system clocks

 
SOLVED
Go to solution
Chuck Ciesinski
Honored Contributor

Reseting system clocks

We have an L-class system which for some unknown reason has 'lost' ten minutes. Is there an easy way to reset the system clock forward say from 9:05 am to 9:15 am?

Any and all help will be appreciated.

Chuck Ciesinski
"Show me the $$$$$"
6 REPLIES 6
Fabio Ettore
Honored Contributor
Solution

Re: Reseting system clocks

Hi,

by SAM.

SAM ---> Time ---> System clock

Adjust time and OK.

HTH.

Best regards,
Ettore
WISH? IMPROVEMENT!
Bryan D. Quinn
Respected Contributor

Re: Reseting system clocks

Hey Chuck,

You can use the date command.

How long did it take for the time to drop back ten minutes? Was it a trickle or relatively quick?

Sounds like you might need a new battery on your system board.

Hope this helps!

-Bryan
Bryan D. Quinn
Respected Contributor

Re: Reseting system clocks

Hey Chuck,

Sorry, I meant to provide and example with the date command:

To use date command to set to April 22 09:15:

date 04220915

-Bryan
sparky_2
Frequent Advisor

Re: Reseting system clocks

You can use "ntpdate" which will update your clock based on the time obtained from the Network Time Protocol server specified.
Note that you can configure your /etc/ntp.conf and /etc/rc.config.d/netdaemons files to ensure that your clock is keeping time consistently.
eran maor
Honored Contributor

Re: Reseting system clocks

Hi

user the command date to change it with this syntax :
# date mmddhhmm

eran maor
love computers
Chuck Ciesinski
Honored Contributor

Re: Reseting system clocks

To all who replied,

Thank you for your quick response. The server lost the 10 minutes in about 5 days. WE have adjusted the clocks and are now engaging a 'synch' program and background daemon..

Again, much thanks,

Chuck Ciesinski
"Show me the $$$$$"