Hello,
I'd like to do this job for you,
I could code on this in PHP, that can be run through cron job,
the code as you said needs to read schedule from mysql database, which I could code in PHP..
Let me know if you are interested on my bid,
Regards,
Rick