Jump to content

Cycling through database records


Recommended Posts

I've been pondering over this for weeks. I am planning an upgrade to an existing system of mine. Is basically a stat tracker. Currently when a request is made for a name it then grabs the stats and updates the database. This is good and I wish to keep this, but I also want to have it automatically update users maybe once every week. What's the best method to do this? I set a cron tab to run a PHP script that loops through the database grabbing and updating or is there a better way? I'm dealing with thousands of records.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...