Go to main content

man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2017
 
 

tzreload(1M)

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(1M), to reinitialize the job scheduler with the new timezone information.

Files

/usr/share/lib/zoneinfo

Standard zone information directory.

Attributes

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

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

See Also

cron(1M), zdump(1M), zic(1M), ctime(3C), mktime(3C), attributes(5), smf(5)

Notes

Although tzreload reinitializes cron(1M), 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(5), 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(1M). 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.