tinyashcities Posted November 15, 2009 Share Posted November 15, 2009 Hello I am new to PHP and trying to learn while I make a very simple text based sport manager game as I go. I have almost finished but I just need to figure out how to make it so that at certain times of the week games are played (using random numbers which depend on the teams stats) even if no one is on. So basically I want to have one table in a mysql database that is updated for every player at a certain time each week even if no one is on the game at that time. Is this possible? Sorry if this is a crap question or worded badly, I still don't know so much. Link to comment https://forums.phpfreaks.com/topic/181564-text-based-sports-game-table-updating/ Share on other sites More sharing options...
herghost Posted November 15, 2009 Share Posted November 15, 2009 Hi, not a crap question at all! You can use a cron job. This will execute the script at a time you set it. http://en.wikipedia.org/wiki/Cron Link to comment https://forums.phpfreaks.com/topic/181564-text-based-sports-game-table-updating/#findComment-957800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.