Menu
I’ve been working on writing a text based browser game in PHP. I want the game to play in rounds that are one week long.
So, once a week I want to purge the variables in the database and start over for a new round of play.
I believe the best way to accomplish this is with a setting up a cron job to execute once a week. Am I correct, would this be the best way to accomplish this?
I’ve never set up any cron jobs before, so this next question might sound silly: I can write a cron job in PHP, right?