Blog IndexPosts by TagHome

Remembering Birthdays

Posted <2017-02-19 Sun 18:10> by Aaron S. Jackson.

Remembering birthdays without Facebook is a bit tricky and was recently reminded of this over the past couple of weeks. I store my contacts in an org file (Emacs org-mode) on my home server, so I wrote a short script which runs at 1AM each day from Cron:


d=$(date +%d/%m)
people=$(grep $d

if [ -n "$people" ]; then
    echo "$people" | \
        awk -F'|' '{ print $2 }' | \
        mail -s "birthdays" someone@blah.bluh

Related posts:

Tags: hacks

Blog IndexPosts by TagHome

You can verify this page with the following command:
gpg --verify <(curl -s <(curl -s

Copyright 2007-2018 Aaron S. Jackson (compiled: Sun 3 Jun 13:24:44 BST 2018)