logo

How to setup your Time zone

About Time zones

A time zone is a designated area of the globe that observes a uniform standard time for legal, commercial and social purposes. Time zones tend to follow the boundaries of countries and their subdivisions instead of strictly following longitude because it is convenient for areas in close commercial or other communication to keep the same time.

Most of the time zones on the Earth are offset from Coordinated Universal Time (UTC) by a whole number of hours (UTC−12:00 to UTC+14:00), but a few zones are offset by 30 or 45 minutes (e.g. Newfoundland Standard Time is UTC−03:30, Nepal Standard Time is UTC+05:45, Indian Standard Time is UTC+05:30 and Myanmar Standard Time is UTC+06:30).

Go to TOP

How to setup your Time zone in Roxy-WI

Every group in Roxy-WI has its own settings for time zone. It can be found "Servers" -> "Settings" tab:

add_group
Full list of Time zones you can find in Wiki

Go to TOP

Configure Chrony in Linux

Chrony is a daemon used for synchronizing the system clock with NTP servers. The configuration file of chrony is located at /etc/chrony.conf or /etc/chrony/chrony.conf. A sample configuration file may look like this:

    server 0.rhel.pool.ntp.org iburst
    server 1.rhel.pool.ntp.org iburst
    server 2.rhel.pool.ntp.org iburst
    server 3.rhel.pool.ntp.org iburst

    stratumweight 0
    driftfile /var/lib/chrony/drift
    makestep 10 3
    logdir /var/log/chrony
                    
The configuration shown above provides the following information:

  • server – NTP servers which can be used as a time source. The iburst option is used so that chrony starts with a burst of 4 - 8 requests in order to perform first update of the clock sooner.
  • stratumweight – how much distance should be added per stratum to the synchronisation distance when chronyd selects the synchronisation source from available sources. The default value is 0.0001.
  • driftfile – the location and the name of the file containing the drift data.
  • Makestep – instructs chrony to gradually correct any time offset by speeding or slowing down the clock as required.
  • logdir – path to chrony log file.


If you want to step the system clock immediately and ignore any adjustments currently being in progress, you can use the following command:
# chronyc makestep

Go to TOP

Was this article helpful?

Yes, thanks!
Not really
Go back