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 1M
  23 .Os
  24 .Sh NAME
  25 .Nm tzreload
  26 .Nd notify timezone update
  27 .Sh SYNOPSIS
  28 .Nm Op Fl a
  29 .Sh DESCRIPTION
  30 The
  31 .Nm
  32 command triggers processes to reread timezone information.
  33 The timezone information is cached in each process.
  34 In response to a
  35 .Nm
  36 command, this cache is updated on the next call to
  37 .Xr ctime 3C
  38 and
  39 .Xr mktime 3C
  40 by each process.
  41 By default,
  42 .Nm
  43 only triggers this update for the current zone.
  44 .Pp
  45 In addition to updating processes, the
  46 .Nm
  47 command also notifies
  48 .Xr cron 1M
  49 to reinitialize the job scheduler with the new timezone information.
  50 .Sh OPTIONS
  51 The following options are supported:
  52 .Bl -tag -width Ds
  53 .It Fl a
  54 Update processes in all zones.
  55 .El
  56 .Sh FILES
  57 .Bl -tag -width Ds
  58 .It Pa /usr/share/lib/zoneinfo
  59 Standard zone information directory.
  60 .El
  61 .Sh INTERFACE STABILITY
  62 .Sy Committed
  63 .Sh SEE ALSO
  64 .Xr cron 1M ,
  65 .Xr zdump 1M ,
  66 .Xr zic 1M ,
  67 .Xr zoneadm 1M ,
  68 .Xr ctime 3C ,
  69 .Xr mktime 3C ,
  70 .Xr attributes 5
  71 .Sh NOTES
  72 Although
  73 .Nm
  74 reinitializes
  75 .Xr cron 1M ,
  76 applications that are affected by timezone changes still need to be restarted or
  77 reinitialized if they do not reread the new timezone information before timezone
  78 changes take place.