Fix for yearless events
[email-reminder.git] / INSTALL
blobac5ebc263c9fb98eeab270d381cb2025a3e2c20a
1 Installation
2 ------------
4 Here is the preferred way of installing Email-Reminder:
6 1- Run "perl Makefile.pl" to generate the Makefile.
8 2- Run "make install" as root to install all program files.
10 3- Set up a cron job so that the "collect-reminders" and "send-reminders"
11    scripts are run everyday.  Under Debian, this is done by putting the
12    following shell script under /etc/cron.daily/:
14    #!/bin/sh
15    COLLECT_SCRIPT=/usr/sbin/collect-reminders
16    SEND_SCRIPT=/usr/bin/send-reminders
18    if [ -x "$COLLECT_SCRIPT" -a -x "$SEND_SCRIPT" ]; then
19        $COLLECT_SCRIPT
20        su - email-reminder -c $SEND_SCRIPT
21    fi
23 4- Add an "email-reminder" user account (usually done with the "adduser" or 
24    "useradd" commands).
26 5- Create the spool directory for that user only:
28    mkdir /var/spool/email-reminder
29    chown email-reminder:email-reminder /var/spool/email-reminder
30    chmod 750 /var/spool/email-reminder
32 6- Should you wish to add a menu entry for Email-Reminder Editor, use
33    the email-reminder-editor.desktop file.