Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calendar(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 calendar(C)                     19 June 1992                     calendar(C)


 Name

    calendar - invoke a reminder service

 Syntax

    calendar [ - ]

 Description

    calendar consults the file calendar in the user's current directory and
    mails the user lines that contain today's or tomorrow's date.  Most rea-
    sonable 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.  Normally this is done daily, in
    the early morning, under the control of cron(C).

 Files

    calendar
    /usr/lib/calprog  To calculate today's and tomorrow's dates
    /etc/passwd
    /tmp/cal*

 See Also

    cron(C), mail(C)

 Note

    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;
    and X/Open Portability Guide, Issue 3, 1989.


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