I needed to do something similar once, getting a php-script to run in certain timeintervals, and i came out using wget in the crontab. This sollution works great. Simply write the php-script you need to update the DB, install wget if you dont already have it....and add it in the crontab, calling you'r php-script. This is ofcourse if you use unix/linux.