Search the docs
Menu
Updated Edit on GitHub

Time settings

Copy as Markdown

Settings, Time holds the server's time zone and how the server keeps its clock correct. The tab needs Change server settings, which Super admin and Server admin accounts have by default.

The Time tab with the server time zone, the time servers and, beside them, the current billing period and the server clock, full size

On a server installed on Linux or Windows the values live in the server's env file, which the console writes when you save. In Docker the server keeps them in its database. Each row says where its value comes from and has Reset to default once it is set here.

Server time zone

Server time zone is the zone of everything the server schedules or counts by day: billing periods, maintenance windows, scheduled reports and backups, alert and summary mails, fleet schedules, workflow times, ticket due times and the dates in export file names. A maintenance window, a notification channel or a person with a time zone of its own keeps it.

At midnight in this zone a new day starts, and at midnight on the 1st a new billing period. Sessions that are open then are not interrupted, and their time is split between the two months. The row shows the zone's offset and the time there now.

  • Use the operating system's time zone fills in the zone the server's operating system reports.
  • My time zone is not in the list takes a name such as Europe/Berlin or America/New_York, which replaces the choice in the list.

Without a choice the server uses UTC. It doesn't read the zone of its process, so TZ and /etc/localtime don't change it. The env file's name for this is SERVER_TIMEZONE; an unknown name there stops the server at start with a message that names the variable. A server updated from 3.6.0 or 3.7.0-rc.1 keeps the billing time zone it had, from its env file or from this tab: the update writes it into SERVER_TIMEZONE once, and the env file says so. An install whose env file set the billing time zone and that was updated to 4.0.0-rc.1 got SERVER_TIMEZONE=UTC there and stays on UTC: choose its zone here. See Updating.

Billing period beside the form shows the current period and when the next one starts, in the zone chosen in the form, also before you save. Billing packages leads to Billing.

Clock synchronisation

Billed session times are only as good as the server's clock. Every 60 seconds the server asks the time servers for the time and compares it with its own clock.

Setting Default What it does
Time servers pool.ntp.org, time.google.com, time.cloudflare.com One host name or IP address per row, without a port. Add a time server adds a row. (NTP_SERVERS)
Require synchronized clock for billable sessions On While the server clock is not synchronized, the server refuses remote sessions to devices that have a support package. Other devices aren't affected. (BILLING_REQUIRE_SYNCED_CLOCK)
Allowed difference (milliseconds) 2000 How far the server clock may be off before it counts as not synchronized, from 1 to 600000. Under Advanced. (BILLING_MAX_CLOCK_SKEW_MS)
Trust the operating system's clock sync On on Linux, off elsewhere When the time servers can't be reached, for example behind a firewall that blocks NTP, the server takes the operating system's own sync status instead. Under Advanced. (BILLING_TRUST_OS_NTP)

Save time settings stores the tab. In Docker the server applies it right away. A server installed on Linux or Windows reads the env file only at start, so the console asks to restart it, which may drop open sessions for a moment.

Server clock beside the form says whether the clock is synchronized for billing, with the Offset, the NTP source, whether the operating system's clock is synced, and the Last error. Check now asks the time servers at once.

The time servers get only NTP queries on UDP port 123. To keep them inside your network, put your own time server on the list; see Privacy.

Type to search pages, sections, commands and settings.