birthday.pl v1.0

by Nikola Pavkovic, nix@fly.srk.fer.hr

DISTRIBUTION AND USE

birthday.pl may be used and distributed according to the terms of the GNU General Public Licence, Version 2.

OVERVIEW

This simple perl script reads the file which contains the birthday list, and appends it to the crontab file so you get mailed on someone's birthday. Each line in the birthday list file is made of a date and a name separated by a ':' . Like this:
dd.mm.:Name of a friend
(See the example Birthdays file.)
The already scheduled jobs stay untouched.

USAGE

Step 1. Edit the file Birthdays (or however you called it - you can specify the filename within the script).
Step 2. Edit the script. (You must specify your mail address and the filename where the birthdays are listed.)
Step 3. Run the script with ./birthday.pl

You will want to add a person to the list in the future. Just go through the three steps again. Then, (in step 1.) the old birthdays are automatically removed from the crontab file, and the ones from the Birthday file are added. This means that you should keep the Birthdays file somewhere, and add a new person at the end of it, so the old birthdays stay untouched.

From now on, you will never forget a firend's birthday again :)

DOWNLOAD

birthday.tar.gz (1573 bytes)

If you have any comments or suggestions please feel free to drop me a line ;)
email : NiX@fly.srk.fer.hr
WWW : http://fly.srk.fer.hr/~nix