Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

tzreload(8)

Name

tzreload - notify timezone update

Synopsis

/usr/sbin/tzreload

Description

The tzreload command notifies active (running) processes to reread timezone information. The timezone information is cached in each process, absent a tzreload command, is never reread until a process is restarted. In response to a tzreload command, active processes reread the current timezone 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 timezone (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 timezone 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 timezone changes still need to be restarted or reinitialized if they do not reread the new timezone information before timezone 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.