12

If I am using NTP daemon or ntpdate command, do I need to worry about changing the timezone?

Should I re-configure the timezone using cron job to guarantee the accuracy of the server time?

I am using ubuntu server.

21

You only need to set the time zone once:

tzselect

or

dpkg-reconfigure tzdata

NTP does not handle time zones. All time data handled by NTP is in UTC; your local time zone setting determines the offset from there.

3

If your timezone is correctly set then you need to do nothing. To check your timezone have a look at the contents of the /etc/timezone file.

cat /etc/timezone

Europe/london

Which is correct for my system.

If your timezone is incorrect then use

sudo dpkg-reconfigure tzdata

to select and set your timezone. Once that is done you should be good till you move the system to another timezone (if ever).

The NTP Daemon does not set the timezone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.