Setting Up Nonprime-Time Discounts
UNIX system accounting provides facilities to give users a
discount for nonprime-time system use.
To make this arrangement work,
you must inform the accounting system
of the dates of holidays
and the hours that are considered nonprime-time,
such as weekends.
Use this procedure to inform the accounting system of the
dates of holidays and nonprime-time.
file, which contains the prime/nonprime table
for the accounting system.
Add or change lines, as appropriate, for the days you
want to consider holidays and the times you want to
There are three types of entries.
Here is the format for each:
Comment lines are marked by an asterisk
in the first column of the line.
Comment lines may appear anywhere in the file.
The year is shown on
the first data line (noncomment line)
in the file and must appear only once.
If you do not specify the current year,
error messages will be sent to the designated user
with appropriate privileges.
The line consists of three fields of four digits each
(leading white space is ignored).
For example, to specify the year as 1992,
prime-time start at 9:00 A.M.,
and nonprime-time start at 4:30 P.M.,
include the following entry:
1992 0900 1630
In the time field,
the time 2400 is automatically converted to 0000.
These entries follow the year
designation line and have the following general format:
The date field has the format
month/day and indicates the date of the holiday.
The holiday field is actually commentary
and is not currently used by other programs.
Here is an example holiday list.
New Year's Day
Day after Thanksgiving
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004