Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calendar(C) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cron(C)

mail(C)


     CALENDAR(C)                                UNIX System V



     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. 14,'' ``september 14'', and ``9/14'', are recognized,
          but not ``14 September'', or ``14/9''.

          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.


     Standards Conformance
          calendar is conformant with:

          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 8/28/89)                          CALENDAR(C)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026