CALENDAR(C) XENIX System V CALENDAR(C)
Name
calendar - Invokes a reminder service.
Syntax
calendar [ - ]
Description
calendar consults the file calendar in the user's current
directory and mails him lines that contain today's or
tomorrow's date. Most reasonable month-day dates, such as
``Sep. 7,'' ``september 7'', and ``9/7'', are recognized,
but not ``7 September'', ``7/12'' or ``07/12''.
On weekends ``tomorrow'' extends through Monday. Lines that
contain the date of a Monday will be sent to the user on the
previous Friday. This is not true for holidays.
When an argument is present, calendar does its job for every
user who has a file calendar in his login directory and
sends the result to the standard output. Normally this is
done daily, in the early morning, under the control of
cron(C).
Files
calendar
/usr/lib/calprog To figure out today's and tomorrow's
dates
/etc/passwd
/tmp/cal*
See Also
cron(C), mail(C)
Notes
To get reminder service, a user's calendar file must have
read permission for all.
Page 1 (printed 2/7/91)