cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-set time at reboot?

 
SOLVED
Go to solution
joe comunale
Advisor

Auto-set time at reboot?

I work on my hp every so often. So when I boot it up again I have to keep setting the time each time.

Is there a way (internet/script) to auto set the time at bootup?

Thanks in advance.
4 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: Auto-set time at reboot?

Hi Joe:

COnfigure XNTP (NTP) and at startup let it synchronize your server's clock to an external source. There are any number of threads in this forum with the details!

Regards!

...JRF...
Modris Bremze
Esteemed Contributor
Solution

Re: Auto-set time at reboot?

xntpd would be the best option for keeping the correct time, but if you want to set it just at bootup, take a look at ntpdate command.
James R. Ferguson
Acclaimed Contributor

Re: Auto-set time at reboot?

Hi (again):

If you want a guide to NTP and the use of 'ntpdate' (best used to initially step the local server clock to the correct time at startup) see chapter-4 of:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02215026/c02215026.pdf

[ the HP-UX Internet Services Administrator's Guide ].

Regards!

...JRF...
joe comunale
Advisor

Re: Auto-set time at reboot?

Thanks guys. I can work it out from there.