Housemate Bill Notification
Friday, March 13, 2009
I live with two housemates, and am the main recipient of the bills.
After receiving months of email bills that required reading / math / forwarding, I wrote up a quick PHP script that:
- checks IMAP email for bills
- finds the dollar amount due in the email
- divides the amount due by the number of housemates
- emails housemates with amount due
I run it as a cron script every half hour.