Move /var/svc/log to /var/log/svc
[unleashed/lotheac.git] / share / man / man4 / holidays.4
blob7d60bae5deb30a00b093975adf6e03745a42d3b8
1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH HOLIDAYS 4 "Aug 18, 2008"
7 .SH NAME
8 holidays \- prime/nonprime table for the accounting system
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/etc/acct/holidays\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fB/etc/acct/holidays\fR file specifies prime time hours and holidays.
19 Holidays and weekends are considered non-prime time hours.
20 .sp
21 .LP
22 \fB/etc/acct/holidays\fR is used by the accounting system.
23 .sp
24 .LP
25 All lines beginning with an \fB*\fR are comments.
26 .sp
27 .LP
28 The \fB/etc/acct/holidays\fR file consists of two sections. The first
29 non-comment line defines the current year and the start time of prime and
30 non-prime time hours, in the form of:
31 .sp
32 .in +2
33 .nf
34 \fIcurrent_year\fR \fIprime_start\fR \fInon_prime_start\fR
35 .fi
36 .in -2
38 .sp
39 .LP
40 Specify \fIprime_start\fR and \fInon_prime_start\fR times in the range of
41 \fB0000\fR to \fB2400\fR.
42 .sp
43 .LP
44 The remaining non-comment lines define the holidays in the form of:
45 .sp
46 .in +2
47 .nf
48 \fImonth/day\fR \fIcompany_holiday\fR
49 .fi
50 .in -2
52 .sp
53 .LP
54 Of these two fields, only the \fImonth/day\fR is actually used by the
55 accounting system programs.
56 .sp
57 .LP
58 The \fB/etc/acct/holidays\fR file must be updated every year.
59 .SH EXAMPLES
60 .LP
61 \fBExample 1 \fRAn Example of the \fB/etc/acct/holidays\fR File
62 .sp
63 .LP
64 The following is an example of the \fB/etc/acct/holidays\fR file:
66 .sp
67 .in +2
68 .nf
69 * Prime/Nonprime Table for the accounting system
71 * Curr     Prime     Non-Prime
72 * Year     Start     Start
74   1991     0830     1800
76 * only the first column (month/day) is significant.
78 * month/day    Company Holiday
80   1/1          New Years Day
81   5/30         Memorial Day
82   7/4          Indep. Day
83   9/5          Labor Day
84   11/24        Thanksgiving Day
85   11/25        day after Thanksgiving
86   12/25        Christmas
87   12/26        day after Christmas
88 .fi
89 .in -2
91 .SH SEE ALSO
92 .sp
93 .LP
94 \fBacct\fR(8)