Unix and Linux Discussions Tagged with dates |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
1,092 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,769 |
Shell Programming and Scripting |
|
|
|
5 |
2,038 |
Shell Programming and Scripting |
|
|
|
4 |
4,020 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,878 |
Shell Programming and Scripting |
|
|
|
1 |
10,008 |
Shell Programming and Scripting |
|
|
|
2 |
3,774 |
HP-UX |
|
|
|
3 |
4,542 |
Shell Programming and Scripting |
|
|
|
9 |
14,217 |
UNIX for Dummies Questions & Answers |
|
|
|
14 |
7,757 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
9,387 |
Shell Programming and Scripting |
|
|
|
1 |
2,552 |
Shell Programming and Scripting |
|
|
|
4 |
22,003 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,199 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
12,882 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,066 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
9,877 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
18,757 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
6,408 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,658 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
13,994 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,104 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,933 |
UNIX for Dummies Questions & Answers |
calendar(1) General Commands Manual calendar(1)
Name
calendar - calendar reminder service
Syntax
calendar [-]
Description
The command consults the file `calendar' in the current directory and prints out lines that contain today's or tomorrow's date. The com-
mand recognizes most month-day dates, such as Dec. 7, december 7, 12/7, but it does not recognize dates formatted in the following ways: 7
December or 7/12. If you give the month as * with a date, such as, * 1, that day in any month will do. On weekends, specifying tomorrow
extends through Monday.
When an argument is present, the command searches through a user's calendar file in his login directory and sends him any positive results
by Normally this is done daily under control of
The calendar file is first run through the C preprocessor, to include any other calendar files specified with the #include syntax.
Included calendars are shared by all users, and are maintained and documented by the local administration.
Options
- Functions for every user who has a calendar file in his login directory.
Restrictions
The extended idea of tomorrow does not account for holidays.
Files
calendar
/usr/lib/calendar to figure out today's and tomorrow's dates
/etc/passwd
/tmp/cal*
/lib/cpp, egrep, sed, mail as subprocesses
See Also
at(1), cron(8), mail(1)
calendar(1)