Unix and Linux Discussions Tagged with day |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
28 |
19,704 |
What is on Your Mind? |
|
|
|
11 |
2,797 |
Shell Programming and Scripting |
|
|
|
2 |
2,419 |
Shell Programming and Scripting |
|
|
|
6 |
1,743 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,520 |
Shell Programming and Scripting |
|
|
|
6 |
8,730 |
Shell Programming and Scripting |
|
|
|
7 |
4,006 |
Linux |
|
|
|
2 |
4,537 |
Shell Programming and Scripting |
|
|
|
36 |
124,897 |
IP Networking |
|
|
|
0 |
2,243 |
IT Security RSS |
|
|
|
0 |
1,882 |
Cartoons for Geeks |
|
|
|
10 |
9,178 |
Programming |
|
|
|
1 |
2,990 |
What is on Your Mind? |
|
|
|
0 |
3,521 |
Cartoons for Geeks |
|
|
|
2 |
12,520 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
12,246 |
Shell Programming and Scripting |
|
|
|
0 |
1,651 |
Cartoons for Geeks |
|
|
|
0 |
2,131 |
Cartoons for Geeks |
|
|
|
0 |
1,978 |
Cartoons for Geeks |
|
|
|
0 |
2,771 |
Cartoons for Geeks |
|
|
|
0 |
1,173 |
UNIX and Linux RSS News |
|
|
|
1 |
4,382 |
Shell Programming and Scripting |
|
|
|
0 |
828 |
Software Releases - RSS News |
|
|
|
1 |
7,217 |
Shell Programming and Scripting |
|
|
|
0 |
2,860 |
Cartoons for Geeks |
|
|
|
0 |
3,164 |
Cartoons for Geeks |
|
|
|
0 |
1,393 |
UNIX and Linux RSS News |
|
|
|
0 |
1,889 |
Cartoons for Geeks |
|
|
|
6 |
6,229 |
Shell Programming and Scripting |
|
|
|
0 |
1,339 |
UNIX and Linux RSS News |
|
|
|
0 |
938 |
Software Releases - RSS News |
|
|
|
6 |
22,051 |
Shell Programming and Scripting |
|
|
|
2 |
6,823 |
Shell Programming and Scripting |
|
|
|
0 |
1,046 |
Software Releases - RSS News |
|
|
|
0 |
1,771 |
UNIX and Linux RSS News |
|
|
|
0 |
1,066 |
UNIX and Linux RSS News |
|
|
|
0 |
2,397 |
UNIX and Linux RSS News |
|
|
|
0 |
1,228 |
UNIX and Linux RSS News |
|
|
|
0 |
1,258 |
UNIX and Linux RSS News |
|
|
|
0 |
931 |
Software Releases - RSS News |
holidays(4) File Formats holidays(4)
NAME
holidays - prime/nonprime table for the accounting system
SYNOPSIS
/etc/acct/holidays
DESCRIPTION
The /etc/acct/holidays file specifies prime time hours and holidays. Holidays and weekends are considered non-prime time hours.
/etc/acct/holidays is used by the accounting system.
All lines beginning with an * are comments.
The /etc/acct/holidays file consists of two sections. The first non-comment line defines the current year and the start time of prime and
non-prime time hours, in the form of:
current_year prime_start non_prime_start
Specify prime_start and non_prime_start times in the range of 0000 to 2400.
The remaining non-comment lines define the holidays in the form of:
month/day company_holiday
Of these two fields, only the month/day is actually used by the accounting system programs.
The /etc/acct/holidays file must be updated every year.
EXAMPLES
Example 1 An Example of the /etc/acct/holidays File
The following is an example of the /etc/acct/holidays file:
* Prime/Nonprime Table for the accounting system
*
* Curr Prime Non-Prime
* Year Start Start
*
1991 0830 1800
*
* only the first column (month/day) is significant.
*
* month/day Company Holiday
*
1/1 New Years Day
5/30 Memorial Day
7/4 Indep. Day
9/5 Labor Day
11/24 Thanksgiving Day
11/25 day after Thanksgiving
12/25 Christmas
12/26 day after Christmas
SEE ALSO
acct(1M)
SunOS 5.11 18 Aug 2008 holidays(4)