xref: /illumos-gate/usr/src/man/man8/tzreload.8 (revision 41e0a469c3dbc14deb2b200f6ca6f6e00b5865d0)
1.\"
2.\" The contents of this file are subject to the terms of the
3.\" Common Development and Distribution License (the "License").
4.\" You may not use this file except in compliance with the License.
5.\"
6.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7.\" or http://www.opensolaris.org/os/licensing.
8.\" See the License for the specific language governing permissions
9.\" and limitations under the License.
10.\"
11.\" When distributing Covered Code, include this CDDL HEADER in each
12.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13.\" If applicable, add the following below this CDDL HEADER, with the
14.\" fields enclosed by brackets "[]" replaced with your own identifying
15.\" information: Portions Copyright [yyyy] [name of copyright owner]
16.\"
17.\"
18.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
19.\" Copyright 2020 Joyent, Inc.
20.\"
21.Dd February 27, 2020
22.Dt TZRELOAD 8
23.Os
24.Sh NAME
25.Nm tzreload
26.Nd notify timezone update
27.Sh SYNOPSIS
28.Nm Op Fl a
29.Sh DESCRIPTION
30The
31.Nm
32command triggers processes to reread timezone information.
33The timezone information is cached in each process.
34In response to a
35.Nm
36command, this cache is updated on the next call to
37.Xr ctime 3C
38and
39.Xr mktime 3C
40by each process.
41By default,
42.Nm
43only triggers this update for the current zone.
44.Pp
45In addition to updating processes, the
46.Nm
47command also notifies
48.Xr cron 8
49to reinitialize the job scheduler with the new timezone information.
50.Sh OPTIONS
51The following options are supported:
52.Bl -tag -width Ds
53.It Fl a
54Update processes in all zones.
55.El
56.Sh FILES
57.Bl -tag -width Ds
58.It Pa /usr/share/lib/zoneinfo
59Standard zone information directory.
60.El
61.Sh INTERFACE STABILITY
62.Sy Committed
63.Sh SEE ALSO
64.Xr ctime 3C ,
65.Xr mktime 3C ,
66.Xr attributes 7 ,
67.Xr cron 8 ,
68.Xr zdump 8 ,
69.Xr zic 8 ,
70.Xr zoneadm 8
71.Sh NOTES
72Although
73.Nm
74reinitializes
75.Xr cron 8 ,
76applications that are affected by timezone changes still need to be restarted or
77reinitialized if they do not reread the new timezone information before timezone
78changes take place.
79