74 lines
2.0 KiB
HTML
74 lines
2.0 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>calendar(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>calendar(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
calendar - reminder service
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>calendar</STRONG> <STRONG>[-</STRONG>] [<STRONG>-r</STRONG>]
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-</STRONG> Work for every user and send mail to him
|
|
|
|
<STRONG>-r</STRONG> Restrict multiple execution on the same day
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>calendar</STRONG> # Check <EM>calendar</EM> file in current directory
|
|
|
|
<STRONG>calendar</STRONG> # Normary used under the control of <STRONG><A HREF="../man8/cron.8.html">cron(8)</A></STRONG>
|
|
|
|
<STRONG>calendar</STRONG> <STRONG>-r</STRONG> # Normary used in /etc/rc file
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
Basically <EM>calendar</EM> program consults the file <EM>calendar</EM> in the current
|
|
directory and display lines which contain today's or tomorrow's date.
|
|
Month-day formats such as '12/25', 'Dec. 25', 'december 25', '*/25',
|
|
'12/*', '*/*' are recognized. The asterisk means 'all' days or 'all'
|
|
months. On weekends 'tomorrow' extends through next Monday without any
|
|
consideration about holidays. To prevent ambiguity, the formats '25
|
|
Dec.' and '25/12' are not recognized.
|
|
|
|
When an argument <STRONG>-</STRONG> is present, <EM>calendar</EM> works for all users with a file
|
|
<EM>calendar</EM> in their login directories and sends them mail. Normally this
|
|
is done daily under the control of <EM>cron</EM>.
|
|
|
|
The <STRONG>-r</STRONG> option does its the same job as <STRONG>-</STRONG> option, but touches the <EM>calendar</EM>
|
|
to prevents further access on the same day. Normally this is done in the
|
|
/<EM>etc</EM>/<EM>rc</EM> file on a machine which may be booted several times in one day.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man8/cron.8.html">cron(8)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|