calendar(1) DG/UX 4.30 calendar(1)
NAME
calendar - reminder service
SYNOPSIS
calendar [ - ]
DESCRIPTION
Calendar consults the file calendar in the current directory
and prints out lines that contain today's or tomorrow's date
anywhere in the line. Most reasonable month-day dates such
as "Aug. 24," "august 24," "8/24," etc., are recognized, but
not "24 August" or "24/8." On weekends "tomorrow" extends
through Monday.
When an argument is present, calendar does its job for every
user who has an entry in the local /etc/passwd file and a
file named calendar in the login directory and sends them
any positive results by mail(1). Normally this is done
daily by a cron job prepared by the system administrator.
EXAMPLES
$ cat calendar
Jan 31 88 Rosemary's Birthday is on Saturday.
Feb 1 88 Rosemary's Birthday is tomorrow.
Feb 8 88 Progress report on proposal is due in one week.
$
$ date
Thu Jan 31 14:49:04 EDT 1988
$
$ calendar
Jan 31 88 Rosemary's Birthday is on Saturday.
Feb 1 88 Rosemary's Birthday is tomorrow.
The cat command displays on the screen the contents of the
users calendar file. The date command displays the date and
time. The calendar command checks the file calendar in the
current directory and displays any messages for the day.
FILES
/usr/lib/calprog To figure out today's and tomorrow's
dates
/etc/passwd
/tmp/cal*
SEE ALSO
mail(1), cal(1).
BUGS
Your calendar must be public information for you to get
reminder service. Users on the system must have read
Licensed material--property of copyright holder(s) Page 1
calendar(1) DG/UX 4.30 calendar(1)
permission on your calendar.
Calendar's extended idea of "tomorrow" does not account for
holidays.
Licensed material--property of copyright holder(s) Page 2