calendar(1)
NAME
calendar − reminder service
SYNTAX
calendar [ − ]
DESCRIPTION
The calendar command 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 “Dec. 7”, “december 7”, “12/7”, are recognized, but not “7 December” or “7/12”. On weekends “tomorrow” extends through Monday.
When the − argument is present, calendar does its job for every user who has a file “calendar” in his login directory and sends him any positive results by mail(1). Normally this is done daily in the wee hours under control of cron(8).
RESTRICTIONS
Your calendar must be public information for you to get reminder service.
The calendar command’s extended idea of “tomorrow” doesn’t account for holidays.
FILES
calendar
/usr/lib/calendar to figure out today’s and tomorrow’s dates
/etc/passwd
/tmp/cal*
egrep, sed, mail subprocesses