calendarappointment reminder system |
Command |
calendar
[-
]
calendar
displays all current appointments
on the standard output. calendar
searches the file
calendar
in the current directory, looking for lines that match
either today's or tomorrow's date. On Friday, Saturday, or Sunday, tomorrow
extends through to Monday. Each appointment must fit on a single line, with the
date formatted as one of:
January 27 1/27 jan 27
The month name may be abbreviated to three letters; the case is not significant; the month can be given numerically.
-
searches for a calendar file in each home directory found in the user
database. calendar
sends mail to the corresponding
user for any appointments that are found to be current. Mail is sent using
the mailx
utility or,
alternatively, the utility named in the MAILER
environment variable.
calendar
file is
found in the current directory:
tue mar 7 1:00 pm dentist Sat April 8 Trip to the zoo mon april 10 3:30 pm job interview 4/11 vacation starts
calendar
displays the following:
Sat April 8 Trip to the zoo mon april 10 3:30 pm job interview
MAILER
contains the name of the utility that calendar
uses
to send mail. If this variable is not set, calendar
uses /bin/mail
as the default mail utility.
calendar
file used in the current directory, or user's home directory.
0
Successful completion.
1
Failure due to any of the following:
MAILER
environment variable is an extension to
traditional implementations of calendar
.
mailx