I need a cron script that will pull data from an existing database and will e-mail a user based on the data that is pulled form the database. This script must have different levels--ie. if a certain dataset is pulled from the databse, one e-mail is sent. If another dataset is pulled, another e-mail is sent. There are three total datasets and three different e-mails to be sent.