LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NTPD that is 1 hr ahead? (https://www.linuxquestions.org/questions/linux-software-2/ntpd-that-is-1-hr-ahead-731507/)

baracus 06-08-2009 04:59 PM

NTPD that is 1 hr ahead?
 
I need to setup an NTP server that is 1 hour ahead of the correct time. Can I sync to an NTP server w/ the correct time and then offset it? Or how can I go about this?

Thank you.

choogendyk 06-08-2009 07:02 PM

Configure it as though you are in an adjacent time zone?

baracus 06-11-2009 10:06 AM

Quote:

Originally Posted by choogendyk (Post 3567405)
Configure it as though you are in an adjacent time zone?

yes. we have phones that pull their tz offset, which can't be changed. So an NTP server w/ the wrong time is the only option.

michaelk 06-11-2009 11:16 AM

NTP uses UTC and any time zone correction is applied locally. A local time server would work but it could not be automatically synced to another time server.

I would not think that phones need to be accurate to the millisecond so my first thoughts would be to create a script to read the time from another time server using the rdate protocol and manually update the time via the date command.

Manually using ntpdate and then applying an offset via the date would work. If you use the server for anything else there would be the possibility of files dates and logs entries to have bad times.


All times are GMT -5. The time now is 09:46 AM.