#include <infodrom.style>
#include <addresses.inc>

<define-tag cvsurl whitespace=delete>
<a href="http://cvs.infodrom.org/~checkout~/calendar/%0?rev=HEAD&content-type=text/plain&cvsroot=infodrom">%0</a>
</define-tag>

<page title="Infodrom Projects -- Historical Dates via Mail"
      keywords="Unix calendar mail">

<h1 align=center>Historical dates via mail</h1>

<p>The most convenient way to be reminded of historical dates that
happened today or tomorrow some years ago, is to get this information
sent via mail daily.  This, by the way, was the reason I started with
this small project.</p>

<p>To achieve this you could hack up your own small script that sends
the mail.  Alternatively you could use the script <cvsurl mail-calendar>
which I personally use and which is maintained through <a
href="http://cvs.infodrom.org/calendar/mail-calendar?cvsroot=infodrom">\
CVS</a> as well.</p>

<p>In order to be periodically reminded on what's going on you can
start the script from above via cron.  To do that, mark the file
executable and add the following line to your crontab, assuming that
the script is located in <code>~/bin/</code>.  This will inform you
three minutes after midnight about historical dates on that day.</p>

<p><pre>
   3 0 * * *       ~/bin/mail-calendar -l de_DE
</pre></p>

<p><b>Important note</b>: this program requires the FreeBSD version of
calendar.  The OpenBSD version uses incompatible commandline options
and doesn't provide features used by this program.  An older version
of the <a href="http://packages.debian.org/bsdmainutils">\
bsdmainutils</a> package which provides the calendar program is
secured <a href="http://people.debian.org/~joey/stuff/calendar/">\
here</a>.</p>

</page>

# Local variables:
# mode: indented-text
# end:
