Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, February 9, 2022
 
 

tzreload(8)

Name

tzreload - notify processes of time zone update

Synopsis

/usr/sbin/tzreload

Description

The tzreload command notifies active (running) processes to reread time zone information. The time zone information is cached in each process, and absent a tzreload command, is never reread until a process is restarted. In response to a tzreload command, active processes reread the current time zone information at the next call to ctime(3C) and mktime(3C). The tzreload notification is sent to processes within the current zone.

tzreload causes processes which are using the system time zone (in /etc/default/init) to reread the contents of that file.

In addition to notifying active processes, the tzreload command also notifies cron(8), to reinitialize the job scheduler with the new time zone information.

Files

/usr/share/lib/zoneinfo

Standard zone information directory.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os
Interface Stability
Committed

See Also

ctime(3C), mktime(3C), attributes(7), smf(7), cron(8), zdump(8), zic(8)

Notes

Although tzreload reinitializes cron(8), applications that are affected by time zone changes still need to be restarted or reinitialized if they do not reread the new time zone information before time zone changes take place.

The timezone update service is managed by the service management facility, smf(7), under the service identifier:

svc:/system/timezone:default

Administrative actions on this service, such as enabling, disabling, or requesting refresh, can be performed using svcadm(8). The service's status can be queried using the svcs(1) command.

Refreshing this service causes the tzreload command to be run, notifying running processes to reload their timezone caches. Disabling this service is not recommended.