Automatically Updating a Database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
carleihar
Forum Commoner
Posts: 36
Joined: Fri Nov 13, 2009 5:59 pm

Automatically Updating a Database

Post by carleihar »

Say for instance, at a certain time I would like a certain script to be run, how would I go about doing this? I'm making a game where someone can enter a horse show, and it has a certain date that it will be run. On that date and time, how can I have the horse show run so that it updates across all the pages? (for instance, the horse's page that was entered, the login page, the show page, ect.)

Thanks!
User avatar
MindOverBody
Forum Commoner
Posts: 96
Joined: Fri Aug 06, 2010 9:01 pm
Location: Osijek, Croatia

Re: Automatically Updating a Database

Post by MindOverBody »

Answer to your question is cronjobs.
Here is tutorial, how you can achieve your goal: CronJobs tutorial
:wink:
Post Reply