Speaking of "Don't Repeat Yourself", tools for these problems already exist.
Namely Google Calendar for those "personal alerts" and ifttt.com for reading a feed an emailing you or whatever.
Not that it's a bad idea to use this, it's just not everything needs to be programmed from scratch, there's quite often a decent tool to do the job already.